Bring type traits into line with TR1

[SVN r26937]
This commit is contained in:
John Maddock
2005-01-30 15:47:46 +00:00
committed by Glen Fernandes
parent a76279f48c
commit 5328370ab6

View File

@ -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; };