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_ACCEPTABLE_HPP
0010 #define BOOST_POLY_COLLECTION_DETAIL_IS_ACCEPTABLE_HPP
0011
0012 #if defined(_MSC_VER)
0013 #pragma once
0014 #endif
0015
0016 #include <type_traits>
0017
0018 namespace boost{
0019
0020 namespace poly_collection{
0021
0022 namespace detail{
0023
0024
0025
0026
0027
0028
0029 template<typename T,typename Model,typename=void>
0030 struct is_acceptable:std::integral_constant<
0031 bool,
0032 Model::template is_implementation<T>::value&&
0033 std::is_move_constructible<typename std::decay<T>::type>::value&&
0034 (std::is_move_assignable<typename std::decay<T>::type>::value||
0035 std::is_nothrow_move_constructible<typename std::decay<T>::type>::value)
0036 >{};
0037
0038 }
0039
0040 }
0041
0042 }
0043
0044 #endif