MCRO
C++23 utilities for Unreal Engine.
Loading...
Searching...
No Matches
Mcro::Templates::TTemplate_Match< Template > Struct Template Reference

Base struct for matching templates disregarding their arguments. More...

#include <Templates.h>

Static Public Attributes

template<typename T >
static constexpr bool Match = false
 
template<typename... Params>
static constexpr bool Match< Template< Params... > > = true
 

Detailed Description

template<template< typename... > typename Template>
struct Mcro::Templates::TTemplate_Match< Template >

Base struct for matching templates disregarding their arguments.

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

Field Documentation

◆ Match

template<template< typename... > typename Template>
template<typename T >
bool Mcro::Templates::TTemplate_Match< Template >::Match = false
staticconstexpr

Definition at line 389 of file Templates.h.

◆ Match< Template< Params... > >

template<template< typename... > typename Template>
template<typename... Params>
bool Mcro::Templates::TTemplate_Match< Template >::Match< Template< Params... > > = true
staticconstexpr

Definition at line 392 of file Templates.h.


The documentation for this struct was generated from the following file: