EasyDelegate
2.0
Delegate and deferred callers for C++11.
|
A type that can represent any delegate type, but it cannot be invoked without casting to a delegate type that knows the proper method signature. More...
#include <delegates.hpp>
Public Attributes | |
const bool | mIsMemberDelegate |
A boolean representing whether or not this delegate is a member delegate. | |
Protected Member Functions | |
IDelegate (const bool &isMemberDelegate) noexcept | |
Constructor accepting a boolean. More... | |
A type that can represent any delegate type, but it cannot be invoked without casting to a delegate type that knows the proper method signature.
This delegate type is useful in the event you wish to pass around delegates regardless of the type in a system where the method signature is resolved via other means for type casting and invocation.
This class type has one boolean readily available that can be used to help distinguish the actual type at runtime: mIsMemberDelegate.
|
inlineprotectednoexcept |
Constructor accepting a boolean.
isMemberDelegate | A boolean representing whether or not this delegate is an instance of MemberDelegate. |