Make CTL definitions less ambiguous

This commit is contained in:
Justine Tunney 2024-07-01 03:48:28 -07:00
parent 239f8ce76e
commit acbabedf27
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
30 changed files with 176 additions and 173 deletions

View file

@ -7,15 +7,15 @@
namespace ctl {
template<typename T>
struct is_array : false_type
struct is_array : ctl::false_type
{};
template<typename T, size_t N>
struct is_array<T[N]> : true_type
struct is_array<T[N]> : ctl::true_type
{};
template<typename T>
struct is_array<T[]> : true_type
struct is_array<T[]> : ctl::true_type
{};
template<typename T>