From 6e076ecab84dc0c429d9934629a7c049ca769e68 Mon Sep 17 00:00:00 2001 From: oktonion <0oktonion0@gmail.com> Date: Mon, 23 Jul 2018 16:13:57 +0300 Subject: [PATCH] names fix, and is_*typemodificator* templates now work for buggy compilers --- stdex/include/type_traits.hpp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/stdex/include/type_traits.hpp b/stdex/include/type_traits.hpp index 8b8b82d2..51e12934 100644 --- a/stdex/include/type_traits.hpp +++ b/stdex/include/type_traits.hpp @@ -393,7 +393,7 @@ namespace stdex }; template - struct UnsignedComparer + struct _unsigned_comparer { static const bool value = _Tp(0) < _Tp(-1); }; @@ -409,7 +409,7 @@ namespace stdex template struct _unsigned : - public _cat_base::type>::value> + public _cat_base<_unsigned_comparer::type>::value> { }; }; @@ -477,6 +477,11 @@ namespace stdex : public true_type { }; + template + struct is_volatile + : public true_type + { }; + template struct is_reference;