|
AXOM
Axom provides a robust, flexible software infrastructure for the development of multi-physics applications and computational tools.
|
Maps a type to itself in a non-deduced context. More...
#include </home/docs/checkouts/readthedocs.org/user_builds/axom/checkouts/latest/src/axom/core/Types.hpp>
Public Types | |
| using | type = T |
Maps a type to itself in a non-deduced context.
This is an Axom-local equivalent of C++20's std::type_identity for C++17. Its primary use is to suppress template argument deduction for a function parameter. A parameter declared as type_identity_t<T> does not participate in deducing T, so T is taken from the explicit template argument or from another parameter, and the argument here is implicitly converted.
| using axom::type_identity< T >::type = T |