libcarla/include/system/boost/qvm/detail/remove_const.hpp
2024-10-18 13:19:59 +08:00

32 lines
606 B
C++

#ifndef BOOST_QVM_DETAIL_REMOVE_CONST_HPP_INCLUDED
#define BOOST_QVM_DETAIL_REMOVE_CONST_HPP_INCLUDED
// Copyright 2008-2022 Emil Dotchevski and Reverge Studios, Inc.
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
namespace boost { namespace qvm {
namespace
qvm_detail
{
template <class T>
struct
remove_const
{
typedef T type;
};
template <class T>
struct
remove_const<T const>
{
typedef T type;
};
}
} }
#endif