File indexing completed on 2025-01-18 09:39:23
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015 #ifndef BOOST_LOG_EXPRESSIONS_PREDICATES_IS_DEBUGGER_PRESENT_HPP_INCLUDED_
0016 #define BOOST_LOG_EXPRESSIONS_PREDICATES_IS_DEBUGGER_PRESENT_HPP_INCLUDED_
0017
0018 #include <boost/log/detail/config.hpp>
0019
0020 #ifdef BOOST_HAS_PRAGMA_ONCE
0021 #pragma once
0022 #endif
0023
0024 #if defined(BOOST_WINDOWS)
0025
0026 #include <boost/phoenix/core/terminal.hpp> // this is needed to be able to include this header alone, Boost.Phoenix blows up without it
0027 #include <boost/phoenix/function/adapt_callable.hpp>
0028 #include <boost/log/detail/header.hpp>
0029
0030 namespace boost {
0031
0032 BOOST_LOG_OPEN_NAMESPACE
0033
0034 namespace expressions {
0035
0036 namespace aux {
0037
0038 struct is_debugger_present
0039 {
0040 typedef bool result_type;
0041
0042 BOOST_LOG_API result_type operator() () const;
0043 };
0044
0045 }
0046
0047 #ifndef BOOST_LOG_DOXYGEN_PASS
0048
0049 BOOST_PHOENIX_ADAPT_CALLABLE_NULLARY(is_debugger_present, aux::is_debugger_present)
0050
0051 #else
0052
0053
0054
0055
0056 unspecified is_debugger_present();
0057
0058 #endif
0059
0060 }
0061
0062 BOOST_LOG_CLOSE_NAMESPACE
0063
0064 }
0065
0066 #include <boost/log/detail/footer.hpp>
0067
0068 #endif
0069
0070 #endif