File indexing completed on 2025-01-31 09:56:56
0001
0002
0003
0004
0005
0006
0007
0008
0009 #ifndef BOOST_POLY_COLLECTION_DETAIL_IS_CONSTRUCIBLE_HPP
0010 #define BOOST_POLY_COLLECTION_DETAIL_IS_CONSTRUCIBLE_HPP
0011
0012 #if defined(_MSC_VER)
0013 #pragma once
0014 #endif
0015
0016 #include <boost/config.hpp>
0017 #include <boost/detail/workaround.hpp>
0018
0019 #if BOOST_WORKAROUND(BOOST_MSVC_FULL_VER,<190023918)
0020
0021
0022
0023
0024
0025
0026 #include <boost/type_traits/is_constructible.hpp>
0027
0028 namespace boost{
0029
0030 namespace poly_collection{
0031
0032 namespace detail{
0033
0034 template<typename T,typename... Args>
0035 struct is_constructible:std::integral_constant<
0036 bool,
0037 boost::is_constructible<T,Args...>::value
0038 >{};
0039
0040 }
0041
0042 }
0043
0044 }
0045
0046 #else
0047 #include <type_traits>
0048
0049 namespace boost{
0050
0051 namespace poly_collection{
0052
0053 namespace detail{
0054
0055 template<typename T,typename... Args>
0056 using is_constructible=std::is_constructible<T,Args...>;
0057
0058 }
0059
0060 }
0061
0062 }
0063
0064 #endif
0065 #endif