File indexing completed on 2025-01-18 09:39:29
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015 #ifndef BOOST_LOG_UTILITY_UNIQUE_IDENTIFIER_NAME_HPP_INCLUDED_
0016 #define BOOST_LOG_UTILITY_UNIQUE_IDENTIFIER_NAME_HPP_INCLUDED_
0017
0018 #include <boost/preprocessor/cat.hpp>
0019 #include <boost/log/detail/config.hpp>
0020
0021 #ifdef BOOST_HAS_PRAGMA_ONCE
0022 #pragma once
0023 #endif
0024
0025 #ifndef BOOST_LOG_DOXYGEN_PASS
0026
0027 #define BOOST_LOG_UNIQUE_IDENTIFIER_NAME_INTERNAL_(prefix, postfix)\
0028 BOOST_PP_CAT(prefix, postfix)
0029 #define BOOST_LOG_UNIQUE_IDENTIFIER_NAME_INTERNAL(prefix, postfix)\
0030 BOOST_LOG_UNIQUE_IDENTIFIER_NAME_INTERNAL_(prefix, postfix)
0031
0032 #endif
0033
0034
0035
0036
0037
0038
0039
0040
0041
0042
0043 #ifdef BOOST_MSVC
0044 # define BOOST_LOG_UNIQUE_IDENTIFIER_NAME(prefix)\
0045 BOOST_LOG_UNIQUE_IDENTIFIER_NAME_INTERNAL(prefix, __COUNTER__)
0046 #else
0047 # define BOOST_LOG_UNIQUE_IDENTIFIER_NAME(prefix)\
0048 BOOST_LOG_UNIQUE_IDENTIFIER_NAME_INTERNAL(prefix, __LINE__)
0049 #endif
0050
0051 #endif