|
DotNetDupe 4.0.6
C++17/20 Implementation of the .NET Base Class Library (BCL)
|
#include <Action.h>
Public Member Functions | |
| Action () | |
| Default constructor creating an empty unassigned Action. | |
| Action (Action &&other) noexcept | |
| Move constructor transferring delegate ownership. | |
| Action (const Action &other) | |
| Copy constructor performing deep clone of target delegate. | |
| Action (decltype(nullptr)) | |
| Constructs an empty Action from nullptr. | |
| template<typename F, typename = std::enable_if_t<!std::is_same_v<std::decay_t<F>, Action> && std::is_invocable_v<std::decay_t<F>>>> | |
| Action (F &&func) | |
| Constructs an Action wrapping the specified callable functor. | |
| ~Action () | |
| Destructor releasing target callable holder. | |
| void | Invoke () const |
| Invokes the wrapped action delegate. | |
| operator bool () const | |
| Boolean conversion testing whether a target delegate is bound. | |
| void | operator() () const |
| Function call operator executing Invoke. | |
| Action & | operator= (Action &&other) noexcept |
| Move assignment operator. | |
| Action & | operator= (const Action &other) |
| Copy assignment operator. | |
|
inline |
Default constructor creating an empty unassigned Action.
Definition at line 54 of file Action.h.
Referenced by Action(), Action(), operator=(), and operator=().
|
inline |
|
inline |
|
inline |
|
inlinenoexcept |
|
inline |
|
inline |
Invokes the wrapped action delegate.
Definition at line 101 of file Action.h.
Referenced by operator()().
|
inlineexplicit |
|
inline |
|
inlinenoexcept |
|
inline |