1 // 2 // Copyright 2005-2007 Adobe Systems Incorporated 3 // 4 // Distributed under the Boost Software License, Version 1.0 5 // See accompanying file LICENSE_1_0.txt or copy at 6 // http://www.boost.org/LICENSE_1_0.txt 7 // 8 #ifndef BOOST_GIL_CONCEPTS_DETAIL_TYPE_TRAITS_HPP 9 #define BOOST_GIL_CONCEPTS_DETAIL_TYPE_TRAITS_HPP 10 11 #include <type_traits> 12 13 namespace boost { namespace gil { namespace detail { 14 15 // TODO: C++20: deprecate and replace with std::std_remove_cvref 16 template <typename T> 17 struct remove_const_and_reference 18 : std::remove_const<typename std::remove_reference<T>::type> 19 { 20 }; 21 22 }}} // namespace boost::gil::detail 23 24 #endif 25