Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:43:28

0001 // Copyright Daniel Wallin 2006.
0002 // Distributed under the Boost Software License, Version 1.0.
0003 // (See accompanying file LICENSE_1_0.txt or copy at
0004 // http://www.boost.org/LICENSE_1_0.txt)
0005 
0006 #ifndef BOOST_PARAMETER_AUX_PREPROCESSOR_IS_BINARY_HPP
0007 #define BOOST_PARAMETER_AUX_PREPROCESSOR_IS_BINARY_HPP
0008 
0009 #include <boost/config.hpp>
0010 #include <boost/config/workaround.hpp>
0011 
0012 #if BOOST_WORKAROUND(BOOST_BORLANDC, BOOST_TESTED_AT(0x564))
0013 // From Paul Mensonides
0014 #include <boost/preprocessor/punctuation/comma.hpp>
0015 #include <boost/preprocessor/detail/split.hpp>
0016 #define BOOST_PARAMETER_IS_BINARY(x) \
0017     BOOST_PP_SPLIT(1, BOOST_PARAMETER_IS_BINARY_C x BOOST_PP_COMMA() 0)
0018 /**/
0019 #include <boost/preprocessor/punctuation/paren.hpp>
0020 #include <boost/preprocessor/tuple/eat.hpp>
0021 #define BOOST_PARAMETER_IS_BINARY_C(x,y) \
0022     ~, 1 BOOST_PP_RPAREN() \
0023     BOOST_PP_TUPLE_EAT(2) BOOST_PP_LPAREN() ~
0024 /**/
0025 #else
0026 #include <boost/preprocessor/detail/is_binary.hpp>
0027 #define BOOST_PARAMETER_IS_BINARY(x) BOOST_PP_IS_BINARY(x)
0028 #endif
0029 
0030 #endif  // include guard
0031