File indexing completed on 2025-01-18 09:42:07
0001
0002
0003
0004
0005
0006
0007
0008
0009 #ifndef BOOST_MULTI_INDEX_DETAIL_IS_FUNCTION_HPP
0010 #define BOOST_MULTI_INDEX_DETAIL_IS_FUNCTION_HPP
0011
0012 #if defined(_MSC_VER)
0013 #pragma once
0014 #endif
0015
0016 #include <boost/config.hpp> /* keep it first to prevent nasty warns in MSVC */
0017 #include <boost/detail/workaround.hpp>
0018
0019 #if !defined(BOOST_NO_CXX11_HDR_TYPE_TRAITS)||\
0020 BOOST_WORKAROUND(_LIBCPP_VERSION,<30700)||\
0021 BOOST_WORKAROUND(BOOST_LIBSTDCXX_VERSION,<40802)
0022
0023
0024
0025
0026
0027
0028
0029
0030
0031 #include <boost/type_traits/is_function.hpp>
0032
0033 namespace boost{namespace multi_index{namespace detail{
0034
0035 template<typename T>
0036 struct is_function:boost::is_function<T>{};
0037
0038 }}}
0039
0040 #else
0041
0042 #include <type_traits>
0043
0044 namespace boost{namespace multi_index{namespace detail{
0045
0046 template<typename T>
0047 struct is_function:std::is_function<T>{};
0048
0049 }}}
0050
0051 #endif
0052 #endif