LkEngine 0.1.2
 
Loading...
Searching...
No Matches
DelegateTraits.h
1#pragma once
2
3#include "LkEngine/Core/Delegate/Delegate.h"
4
5
6namespace LkEngine::Core {
7
11 template <typename T>
12 struct IsMulticastDelegate : std::false_type {};
13
14 template <typename... TArgs>
15 struct IsMulticastDelegate<LMulticastDelegate<TArgs...>> : std::true_type {};
16
17 template<typename T>
18 inline constexpr bool IsMulticastDelegate_v = IsMulticastDelegate<T>::value;
19
20}
Definition Delegate.h:873
Helper for checking if a delegate is a multicast delegate.
Definition DelegateTraits.h:12