AIToolbox
A library that offers tools for AI problem solving.
|
This struct is used to copy constness from one type to another. More...
#include <AIToolbox/TypeTraits.hpp>
Public Types | |
using | type = typename std::conditional_t< std::is_const_v< ConstReference >, std::add_const_t< CopiedType >, std::remove_const_t< CopiedType > > |
This struct is used to copy constness from one type to another.
using AIToolbox::copy_const< CopiedType, ConstReference >::type = typename std::conditional_t<std::is_const_v<ConstReference>, std::add_const_t<CopiedType>, std::remove_const_t<CopiedType> > |