1 //-----------------------------------------------------------------------------
2 // boost/variant/detail/bool_trait_def.hpp header file
3 // See http://www.boost.org for updates, documentation, and revision history.
4 //-----------------------------------------------------------------------------
9 // Distributed under the Boost Software License, Version 1.0. (See
10 // accompanying file LICENSE_1_0.txt or copy at
11 // http://www.boost.org/LICENSE_1_0.txt)
13 // Needed until move-related traits incorporated into type_traits library.
14 // no include guards, the header is intended for multiple inclusion!
16 // should be the last #include
17 #include "boost/type_traits/detail/bool_trait_def.hpp"
19 #define BOOST_VARIANT_TT_AUX_BOOL_TRAIT_DEF1(trait,T,C) \
20 template< typename T > struct trait \
21 BOOST_TT_AUX_BOOL_C_BASE(C) \
23 BOOST_TT_AUX_BOOL_TRAIT_VALUE_DECL(C) \
24 BOOST_MPL_AUX_LAMBDA_SUPPORT(1,trait,(T)) \
28 #define BOOST_VARIANT_TT_AUX_TRAIT_SUFFIX(arity, name) \
29 BOOST_TT_AUX_TEMPLATE_ARITY_SPEC(arity, name) \