Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:30:26

0001 
0002 #ifndef BOOST_CONTRACT_DETAIL_NAME_HPP_
0003 #define BOOST_CONTRACT_DETAIL_NAME_HPP_
0004 
0005 // Copyright (C) 2008-2018 Lorenzo Caminiti
0006 // Distributed under the Boost Software License, Version 1.0 (see accompanying
0007 // file LICENSE_1_0.txt or a copy at http://www.boost.org/LICENSE_1_0.txt).
0008 // See: http://www.boost.org/doc/libs/release/libs/contract/doc/html/index.html
0009 
0010 #include <boost/contract/detail/config.hpp>
0011 #include <boost/preprocessor/cat.hpp>
0012 
0013 /* PUBLIC */
0014 
0015 // NOTE: Explicitly list number of names to concatenate using ..._NAME-n
0016 // (instead of using ..._SEQ_CAT or similar) for optimal speed and reentrancy.
0017 
0018 #define BOOST_CONTRACT_DETAIL_NAME1(name1) \
0019     BOOST_PP_CAT(BOOST_CONTRACT_DETAIL_NAME_PREFIX, name1)
0020 
0021 #define BOOST_CONTRACT_DETAIL_NAME2(name1, name2) \
0022     BOOST_PP_CAT(BOOST_CONTRACT_DETAIL_NAME_PREFIX, BOOST_PP_CAT(name1, \
0023             BOOST_PP_CAT(BOOST_CONTRACT_DETAIL_NAME_INFIX, name2)))
0024        
0025 #endif // #include guard
0026