Skip to content

Commit

Permalink
names fix, and is_*typemodificator* templates now work for buggy comp…
Browse files Browse the repository at this point in the history
…ilers
  • Loading branch information
oktonion committed Jul 23, 2018
1 parent dfc0827 commit 6e076ec
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions stdex/include/type_traits.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ namespace stdex
};

template<class _Tp>
struct UnsignedComparer
struct _unsigned_comparer
{
static const bool value = _Tp(0) < _Tp(-1);
};
Expand All @@ -409,7 +409,7 @@ namespace stdex

template<class _Tp>
struct _unsigned :
public _cat_base<UnsignedComparer<typename remove_cv<_Tp>::type>::value>
public _cat_base<_unsigned_comparer<typename remove_cv<_Tp>::type>::value>
{
};
};
Expand Down Expand Up @@ -477,6 +477,11 @@ namespace stdex
: public true_type
{ };

template<class _Tp>
struct is_volatile<const volatile _Tp>
: public true_type
{ };

template<class _Tp>
struct is_reference;

Expand Down

0 comments on commit 6e076ec

Please sign in to comment.