MCRO
C++23 utilities for Unreal Engine.
Loading...
Searching...
No Matches
Mcro::Templates::CTypeOnlyTemplate Concept Reference

Checks if input is a template which only has type parameters. More...

#include <Templates.h>

Concept definition

template<typename T>
Checks if input is a template which only has type parameters.
Definition Templates.h:434
static constexpr bool IsTemplate
Definition Templates.h:398

Detailed Description

Checks if input is a template which only has 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 434 of file Templates.h.