2 // Copyright 2005-2007 Adobe Systems Incorporated
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
8 #ifndef BOOST_GIL_CONCEPTS_DETAIL_TYPE_TRAITS_HPP
9 #define BOOST_GIL_CONCEPTS_DETAIL_TYPE_TRAITS_HPP
11 #include <type_traits>
13 namespace boost { namespace gil { namespace detail {
15 // TODO: C++20: deprecate and replace with std::std_remove_cvref
17 struct remove_const_and_reference
18 : std::remove_const<typename std::remove_reference<T>::type>
22 }}} // namespace boost::gil::detail