Check if given type is an instantiation of a given template (which only accepts type parameters)
More...
#include <Templates.h>
template<typename Instance, template< typename... > typename Template>
&& TTemplate_Match<Template>::template Match<std::decay_t<Instance>>
Check if given type is an instantiation of a given template (which only accepts type parameters)
Checks if input is a template which only has type parameters.
Check if given type is an instantiation of a given template (which only accepts type parameters)
- Warning
- Until this proposal https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2020/p1985r0.pdf or equivalent is considered seriously, template traits only work with templates which only have type-parameters. Non-type parameters even when a default is specified for them will result in compile error.
Definition at line 489 of file Templates.h.