Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-09-17 08:45:57

0001 /* Copyright 2024 Joaquin M Lopez Munoz.
0002  * Distributed under the Boost Software License, Version 1.0.
0003  * (See accompanying file LICENSE_1_0.txt or copy at
0004  * http://www.boost.org/LICENSE_1_0.txt)
0005  *
0006  * See http://www.boost.org/libs/poly_collection for library home page.
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 } /* namespace poly_collection::detail */
0032 
0033 } /* namespace poly_collection */
0034 
0035 } /* namespace boost */
0036 
0037 #endif