File indexing completed on 2025-09-17 08:45:57
0001
0002
0003
0004
0005
0006
0007
0008
0009 #ifndef BOOST_POLY_COLLECTION_DETAIL_IS_MOVEABLE_HPP
0010 #define BOOST_POLY_COLLECTION_DETAIL_IS_MOVEABLE_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 template<typename T> struct is_moveable:std::integral_constant<
0025 bool,
0026 std::is_move_constructible<typename std::decay<T>::type>::value&&
0027 (std::is_move_assignable<typename std::decay<T>::type>::value||
0028 std::is_nothrow_move_constructible<typename std::decay<T>::type>::value)
0029 >{};
0030
0031 }
0032
0033 }
0034
0035 }
0036
0037 #endif