forked from boostorg/integer
Bring type traits into line with TR1
[SVN r26937]
This commit is contained in:
committed by
Glen Fernandes
parent
a76279f48c
commit
5328370ab6
@ -19,13 +19,12 @@
|
||||
problem.
|
||||
*/
|
||||
|
||||
#include <boost/type_traits/integral_constant.hpp> // true_type and false_type
|
||||
|
||||
namespace boost {
|
||||
|
||||
struct ct_if_error { };
|
||||
|
||||
struct true_type { enum { value = true }; };
|
||||
struct false_type { enum { value = false }; };
|
||||
|
||||
template <class A, class B>
|
||||
struct ct_and { typedef false_type type; };
|
||||
template <> struct ct_and<true_type,true_type> { typedef true_type type; };
|
||||
|
Reference in New Issue
Block a user