![]() |
General Utility Library for C++17 25.4.1
|
Type traits and helpers for metaprogramming.
Classes | |
struct | gul17::IsContainerLike< T, typename > |
Helper type trait object to determine if a type is a container. More... | |
Typedefs | |
template<typename T > | |
using | gul17::remove_cvref = typename std::remove_cv< std::remove_reference_t< T > > |
A template metafunction that removes const, volatile, and reference qualifiers from a type. | |
template<typename T > | |
using | gul17::remove_cvref_t = typename remove_cvref< T >::type |
A template metafunction that removes const, volatile, and reference qualifiers from a type. | |
using gul17::remove_cvref = typedef typename std::remove_cv<std::remove_reference_t<T> > |
A template metafunction that removes const, volatile, and reference qualifiers from a type.
The stripped type is available in the member typedef type
.
This is a substitute for C++20's std::remove_cvref.
using gul17::remove_cvref_t = typedef typename remove_cvref<T>::type |
A template metafunction that removes const, volatile, and reference qualifiers from a type.
This is a substitute for C++20's std::remove_cvref_t.