Chris@16: //----------------------------------------------------------------------------- Chris@16: // boost/variant/detail/bool_trait_def.hpp header file Chris@16: // See http://www.boost.org for updates, documentation, and revision history. Chris@16: //----------------------------------------------------------------------------- Chris@16: // Chris@16: // Copyright (c) 2003 Chris@16: // Eric Friedman Chris@16: // Chris@16: // Distributed under the Boost Software License, Version 1.0. (See Chris@16: // accompanying file LICENSE_1_0.txt or copy at Chris@16: // http://www.boost.org/LICENSE_1_0.txt) Chris@16: Chris@16: // Needed until move-related traits incorporated into type_traits library. Chris@16: // no include guards, the header is intended for multiple inclusion! Chris@16: Chris@16: // should be the last #include Chris@16: #include "boost/type_traits/detail/bool_trait_def.hpp" Chris@16: Chris@16: #define BOOST_VARIANT_TT_AUX_BOOL_TRAIT_DEF1(trait,T,C) \ Chris@16: template< typename T > struct trait \ Chris@16: BOOST_TT_AUX_BOOL_C_BASE(C) \ Chris@16: { \ Chris@16: BOOST_TT_AUX_BOOL_TRAIT_VALUE_DECL(C) \ Chris@16: BOOST_MPL_AUX_LAMBDA_SUPPORT(1,trait,(T)) \ Chris@16: }; \ Chris@16: /**/ Chris@16: Chris@16: #define BOOST_VARIANT_TT_AUX_TRAIT_SUFFIX(arity, name) \ Chris@16: BOOST_TT_AUX_TEMPLATE_ARITY_SPEC(arity, name) \ Chris@16: /**/