TypeTraits.h#
Fully qualified name: carb/cpp/TypeTraits.h
In directory: carb/cpp
Source file: TypeTraits.h
C++14-compatible implementation of select functionality from C++ <type_traits> library.
Namespaces#
Structs#
- carb::cpp::invoke_result
Get the result type of calling
Funcwith theTArgspack.- carb::cpp::is_bounded_array
Checks whether T is an array of known bounds.
- carb::cpp::is_bounded_array< T[N]>
Checks whether T is an array of known bounds.
- carb::cpp::is_invocable
Check if the
Funcis invocable with theTArgspack.- carb::cpp::is_invocable_r
Check if invoking
Funcwith theTArgspack will returnR.- carb::cpp::is_nothrow_convertible
Determine if
Fromcan be implicitly-converted toTowithout throwing an exception.- carb::cpp::is_nothrow_invocable
Check if invoking
Funcwith theTArgspack will not throw.- carb::cpp::is_nothrow_invocable_r
Check that invoking
Funcwith theTArgspack and converting it toRwill not throw.- carb::cpp::is_unbounded_array
Checks whether T is an array of unknown bounds.
- carb::cpp::is_unbounded_array< T[]>
Checks whether T is an array of unknown bounds.
- carb::cpp::remove_cvref
If the type T is a reference type, provides the member typedef type which is the type referred to by T with its topmost cv-qualifiers removed. Otherwise type is T with its topmost cv-qualifiers removed.
- carb::cpp::type_identity
Provides the member typedef type that names T (i.e. the identity transformation). This can be used to establish non-deduced contexts in template argument deduction.