xte::drop_c<>

Defined in header <xte/trait/drop_c.hpp>

Removes const and volatile qualifiers from a given type.


Definition

template<typename T>
using drop_cv = xte::drop_v<xte::drop_c<T>>;



Example

static_assert(xte::is_same<int&, xte::drop_cv<const volatile int&>>);
[View in Compiler Explorer]