rll/type_traits.h file

Namespaces

namespace rll
Contract-programming related functions and classes.

Classes

template <typename T>
struct rll::remove_cvref
Remove all cv qualifiers, references and pointers from a type.
template <typename T>
struct rll::plain_type
Remove all cv qualifiers, references and pointers from a type.

Typedefs

template <typename T>
using plain_type_t = typename plain_type<T>::type
Remove all cv qualifiers, references and pointers from a type.
template <typename T>
using remove_cvref_t = typename remove_cvref<T>::type
The type referred by T or T itself if it is not a reference, with top-level cv-qualifiers removed.