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