|
struct | TypeSelector< n, T0, TArgs... > |
|
struct | TypeSelector< 0, T0, TArgs... > |
|
struct | TypeIndex< T0, n, T1, TArgs > |
| Returns the index of type T0 in type list. If the type is not in the list, returns -1. More...
|
|
struct | TypeIndex< T0, n, T1 > |
|
struct | MakeVoid< Ts > |
|
struct | FunctionSignature< TSignature > |
| Function traits. More...
|
|
struct | FunctionTraits< TFunction > |
|
struct | FunctionTraits< TReturn(TClass::*)(TArgs...) const > |
|
struct | FunctionTraits< TReturn(TClass::*)(TArgs...)> |
|
struct | FunctionTraits< TReturn(*)(TArgs...)> |
|
struct | IsCallableImpl< TCallable, TEnabler, TArgs > |
|
struct | IsCallableImpl< TCallable, VoidType< decltype(std::declval< TCallable >()(std::declval< TArgs >()...))>, TArgs... > |
|
struct | IsCallable< TCallable, TArgs > |
|
struct | HasStreamOperator< T, TStream, typename > |
|
struct | HasStreamOperator< T, TStream, VoidType< decltype(std::declval< TStream & >()<< std::declval< T >())> > |
|
class | ReferenceWrapper< T > |
| Helper class for storing l-value references. Has a default constructor for convenient usage in containers. More...
|
|
struct | WrapReferenceType< T > |
| Type trait wrapping references. Other types keeps unchanged. More...
|
|
struct | WrapReferenceType< T & > |
|
struct | UnwrapReferenceType< T > |
| Type trait for "extracting" stored references from reference_wrappers. Other types keeps unchanged. More...
|
|
struct | UnwrapReferenceType< ReferenceWrapper< T > > |
|
struct | UndecayType< T, TOther > |
| Adds const or reference to the type, based on const-ness and reference-ness of given type. More...
|
|
struct | UndecayType< T, const TOther > |
|
struct | UndecayType< T, TOther & > |
|
struct | UndecayType< T, const TOther & > |
|
struct | ConvertToSizeType< T, TEnabler > |
| Converts all signed integral types and enums into Size, does not change other types. More...
|
|
struct | ConvertToSizeType< T, std::enable_if_t< std::is_enum< std::decay_t< T > >::value > > |
|
struct | IsEnumClass< T > |
|
struct | AllTrue< First, Second, Others... > |
|
struct | AllTrue< Value > |
|
struct | AnyTrue< First, Second, Others... > |
|
struct | AnyTrue< Value > |
|
Few non-standard type traits.
- Author
- Pavel Sevecek (sevecek at sirrah.troja.mff.cuni.cz)
- Date
- 2016-2021
Definition in file Traits.h.