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

#include <Templates.h>

Concept definition

template<template< typename... > typename Template, typename T>
concept Mcro::Templates::CIsTemplate = TTemplate<Template>::template Match<T>::Value

Detailed Description

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 80 of file Templates.h.