Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:53:09

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_GREATER_HPP_INCLUDED
0010 #define BOOST_TT_HAS_GREATER_HPP_INCLUDED
0011 
0012 #define BOOST_TT_TRAIT_NAME has_greater
0013 #define BOOST_TT_TRAIT_OP >
0014 #define BOOST_TT_FORBIDDEN_IF\
0015    (\
0016       /* Lhs==pointer and Rhs==fundamental */\
0017       (\
0018          ::boost::is_pointer< Lhs_noref >::value && \
0019          ::boost::is_fundamental< Rhs_nocv >::value\
0020       ) || \
0021       /* Rhs==pointer and Lhs==fundamental */\
0022       (\
0023          ::boost::is_pointer< Rhs_noref >::value && \
0024          ::boost::is_fundamental< Lhs_nocv >::value\
0025       ) || \
0026       /* Lhs==pointer and Rhs==pointer and Lhs!=base(Rhs) and Rhs!=base(Lhs) and Lhs!=void* and Rhs!=void* */\
0027       (\
0028          ::boost::is_pointer< Lhs_noref >::value && \
0029          ::boost::is_pointer< Rhs_noref >::value && \
0030          (! \
0031             ( \
0032                ::boost::is_base_of< Lhs_noptr, Rhs_noptr >::value || \
0033                ::boost::is_base_of< Rhs_noptr, Lhs_noptr >::value || \
0034                ::boost::is_same< Lhs_noptr, Rhs_noptr >::value || \
0035                ::boost::is_void< Lhs_noptr >::value || \
0036                ::boost::is_void< Rhs_noptr >::value\
0037             )\
0038          )\
0039       ) || \
0040       (\
0041          ::boost::type_traits_detail::is_likely_stateless_lambda<Lhs_noref>::value\
0042       )\
0043    )
0044 
0045 
0046 #include <boost/type_traits/detail/has_binary_operator.hpp>
0047 
0048 #undef BOOST_TT_TRAIT_NAME
0049 #undef BOOST_TT_TRAIT_OP
0050 #undef BOOST_TT_FORBIDDEN_IF
0051 
0052 #endif