MCRO
C++23 utilities for Unreal Engine.
Loading...
Searching...
No Matches
Traits.h File Reference
#include "CoreMinimal.h"
#include "Mcro/FunctionTraits.h"
#include "Mcro/Void.h"
#include "Mcro/Tuples.h"

Go to the source code of this file.

Data Structures

struct  Mcro::Delegates::TDynamicMethodPtr_Struct< typename >
 
struct  Mcro::Delegates::TDynamicMethodPtr_Struct< Dynamic >
 
struct  Mcro::Delegates::TDynamicSignature_Struct< typename >
 
struct  Mcro::Delegates::TDynamicSignature_Struct< Dynamic >
 
struct  Mcro::Delegates::TNative_Struct< typename >
 
struct  Mcro::Delegates::TNative_Struct< Dynamic >
 

Namespaces

namespace  Mcro
 
namespace  Mcro::Delegates
 

Concepts

concept  Mcro::Delegates::CDynamicDelegate
 Constraint given type to a dynamic delegate class.
 
concept  Mcro::Delegates::CDynamicMulticastDelegate
 Constraint given type to a dynamic multicast delegate class.
 

Typedefs

template<CFunctionLike Function, typename... Captures>
using Mcro::Delegates::TInferredDelegate
 Infer a delegate type from an input function signature and a list of captures.
 
template<typename Dynamic >
using Mcro::Delegates::TDynamicMethodPtr = typename TDynamicMethodPtr_Struct<std::decay_t<Dynamic>>::Type
 Get the native function pointer type compatible with given dynamic (multicast) delegate.
 
template<typename Dynamic >
using Mcro::Delegates::TDynamicSignature = typename TDynamicSignature_Struct<std::decay_t<Dynamic>>::Type
 Get the native function signature type compatible with given dynamic (multicast) delegate.
 
template<typename Dynamic >
using Mcro::Delegates::TNative = typename TNative_Struct<std::decay_t<Dynamic>>::Type
 Map the input dynamic (multicast) delegate to a conceptually compatible native (multicast) delegate type.
 

Detailed Description

Author
David Mórász
Date
2025

Definition in file Traits.h.