Add more type traits to CTL

This commit is contained in:
Justine Tunney 2024-06-30 20:59:38 -07:00
parent e437bed006
commit 44191b3f50
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
12 changed files with 286 additions and 0 deletions

View file

@ -11,10 +11,12 @@ struct integral_constant
static constexpr T value = v;
typedef T value_type;
typedef integral_constant type;
constexpr operator value_type() const noexcept
{
return value;
}
constexpr value_type operator()() const noexcept
{
return value;