Back to home page

EIC code displayed by LXR

 
 

    


Warning, file /include/boost/type_traits/has_plus.hpp was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 //  (C) Copyright 2009-2011 Frederic Bron.
0002 //
0003 //  Use, modification and distribution are subject to the Boost Software License,
0004 //  Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
0005 //  http://www.boost.org/LICENSE_1_0.txt).
0006 //
0007 //  See http://www.boost.org/libs/type_traits for most recent version including documentation.
0008 
0009 #ifndef BOOST_TT_HAS_PLUS_HPP_INCLUDED
0010 #define BOOST_TT_HAS_PLUS_HPP_INCLUDED
0011 
0012 #define BOOST_TT_TRAIT_NAME has_plus
0013 #define BOOST_TT_TRAIT_OP +
0014 #define BOOST_TT_FORBIDDEN_IF\
0015    (\
0016       /* Lhs==pointer and Rhs==pointer */\
0017       (\
0018          ::boost::is_pointer< Lhs_noref >::value && \
0019          ::boost::is_pointer< Rhs_noref >::value\
0020       ) || \
0021       /* Lhs==void* and Rhs==fundamental */\
0022       (\
0023          ::boost::is_pointer< Lhs_noref >::value && \
0024          ::boost::is_void< Lhs_noptr >::value && \
0025          ::boost::is_fundamental< Rhs_nocv >::value\
0026       ) || \
0027       /* Rhs==void* and Lhs==fundamental */\
0028       (\
0029          ::boost::is_pointer< Rhs_noref >::value && \
0030          ::boost::is_void< Rhs_noptr >::value && \
0031          ::boost::is_fundamental< Lhs_nocv >::value\
0032       ) || \
0033       /* Lhs==pointer and Rhs==fundamental and Rhs!=integral */\
0034       (\
0035          ::boost::is_pointer< Lhs_noref >::value && \
0036          ::boost::is_fundamental< Rhs_nocv >::value && \
0037          (!  ::boost::is_integral< Rhs_noref >::value )\
0038       ) || \
0039       /* Rhs==pointer and Lhs==fundamental and Lhs!=integral */\
0040       (\
0041          ::boost::is_pointer< Rhs_noref >::value && \
0042          ::boost::is_fundamental< Lhs_nocv >::value && \
0043          (!  ::boost::is_integral< Lhs_noref >::value )\
0044       )\
0045    )
0046 
0047 
0048 #include <boost/type_traits/detail/has_binary_operator.hpp>
0049 
0050 #undef BOOST_TT_TRAIT_NAME
0051 #undef BOOST_TT_TRAIT_OP
0052 #undef BOOST_TT_FORBIDDEN_IF
0053 
0054 #endif