Welcome to the new CppUtils documentation!
Functions & utilities
FUNCTIONSNamespace: CppUtils::Type
Public types
Section titled “Public types”UnderlyingElementType
Section titled “UnderlyingElementType”using CppUtils::Type::UnderlyingElementType = typedef std::remove_cvref_t<std::remove_all_extents_t<std::remove_pointer_t<std::decay_t<Type>>>>;Resolves the decayed element type of a pointer, array, or scalar type.
using CppUtils::Type::Hash = typedef std::uint64_t;using CppUtils::Type::Token = typedef Hash;LazyEvaluationType
Section titled “LazyEvaluationType”using CppUtils::Type::LazyEvaluationType = typedef typename LazyEvaluation<Condition, Then, Arg, Else>::type;CommonType
Section titled “CommonType”using CppUtils::Type::CommonType = typedef typename Common<T...>::type;using CppUtils::Type::In = typedef std::conditional_t<preferPassByRef<T>, const T&, T>;NthType
Section titled “NthType”using CppUtils::Type::NthType = typedef std::tuple_element_t<I, std::tuple<Types...>>;FirstType
Section titled “FirstType”using CppUtils::Type::FirstType = typedef NthType<0, Types...>;UniqueType
Section titled “UniqueType”using CppUtils::Type::UniqueType = typedef typename Unique<Container<>, Types...>::type;UniqueVariant
Section titled “UniqueVariant”using CppUtils::Type::UniqueVariant = typedef UniqueType<std::variant, std::decay_t<Types>...>;UniqueTuple
Section titled “UniqueTuple”using CppUtils::Type::UniqueTuple = typedef UniqueType<std::tuple, Types...>;FilterType
Section titled “FilterType”using CppUtils::Type::FilterType = typedef typename Filter<Trait, Container<>, Types...>::type;