From 5328370ab6d885a412e6903a68763e7f5363cca7 Mon Sep 17 00:00:00 2001 From: John Maddock Date: Sun, 30 Jan 2005 15:47:46 +0000 Subject: [PATCH] Bring type traits into line with TR1 [SVN r26937] --- include/boost/pending/ct_if.hpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/include/boost/pending/ct_if.hpp b/include/boost/pending/ct_if.hpp index 29fdbc4..2f8540d 100644 --- a/include/boost/pending/ct_if.hpp +++ b/include/boost/pending/ct_if.hpp @@ -19,13 +19,12 @@ problem. */ +#include // true_type and false_type + namespace boost { struct ct_if_error { }; - struct true_type { enum { value = true }; }; - struct false_type { enum { value = false }; }; - template struct ct_and { typedef false_type type; }; template <> struct ct_and { typedef true_type type; };