epoc32/include/stdapis/boost/variant/detail/bool_trait_def.hpp
branchSymbian2
changeset 2 2fe1408b6811
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/epoc32/include/stdapis/boost/variant/detail/bool_trait_def.hpp	Tue Mar 16 16:12:26 2010 +0000
     1.3 @@ -0,0 +1,30 @@
     1.4 +//-----------------------------------------------------------------------------
     1.5 +// boost/variant/detail/bool_trait_def.hpp header file
     1.6 +// See http://www.boost.org for updates, documentation, and revision history.
     1.7 +//-----------------------------------------------------------------------------
     1.8 +//
     1.9 +// Copyright (c) 2003
    1.10 +// Eric Friedman
    1.11 +//
    1.12 +// Distributed under the Boost Software License, Version 1.0. (See
    1.13 +// accompanying file LICENSE_1_0.txt or copy at
    1.14 +// http://www.boost.org/LICENSE_1_0.txt)
    1.15 +
    1.16 +// Needed until move-related traits incorporated into type_traits library.
    1.17 +// no include guards, the header is intended for multiple inclusion!
    1.18 +
    1.19 +// should be the last #include
    1.20 +#include "boost/type_traits/detail/bool_trait_def.hpp"
    1.21 +
    1.22 +#define BOOST_VARIANT_TT_AUX_BOOL_TRAIT_DEF1(trait,T,C) \
    1.23 +template< typename T > struct trait \
    1.24 +    BOOST_TT_AUX_BOOL_C_BASE(C) \
    1.25 +{ \
    1.26 +    BOOST_TT_AUX_BOOL_TRAIT_VALUE_DECL(C) \
    1.27 +    BOOST_MPL_AUX_LAMBDA_SUPPORT(1,trait,(T)) \
    1.28 +}; \
    1.29 +/**/
    1.30 +
    1.31 +#define BOOST_VARIANT_TT_AUX_TRAIT_SUFFIX(arity, name) \
    1.32 +BOOST_TT_AUX_TEMPLATE_ARITY_SPEC(arity, name) \
    1.33 +/**/