Simple-Utility v2.3.1
|
Applies or removes the const
qualification of To
in regards of From
.
More...
#include <TypeTraits.hpp>
Public Types | |
using | type = std::conditional_t< std::is_const_v< cv_qualified_type_t< From > >, add_type_const_t< To >, remove_type_const_t< To > > |
Applies or removes the const
qualification of To
in regards of From
.
To | Qualification to be modified on. |
From | Qualification to be taken from. |
using sl::type_constness_as< To, From >::type = std::conditional_t< std::is_const_v<cv_qualified_type_t<From> >, add_type_const_t<To>, remove_type_const_t<To> > |