[ConstClassDelegate]({#ref structicy_1_1ConstClassDelegate #}) contains a pointer to a const class member.#include <icy/delegate.h>Inherits:
AbstractDelegate< RT, Args... >
The [ConstClassDelegate](#constclassdelegate) contains a pointer to a const class member.
This class implements fast delegates and function comparison.
Class * instanceRT(Class::* method| Return | Name | Description |
|---|---|---|
ConstClassDelegate inline | #### Parameters | |
RT | operator() virtual const inline | Calls the const member function on instance. |
bool | operator== virtual const inline | #### Parameters |
inline
inline ConstClassDelegate(Class * instance, RT(Class::*)(Args...) const method)instance Object on which to invoke the const member function.
method Pointer to the const member function to wrap.
virtual const inline
virtual inline RT operator()(Args... args) constCalls the const member function on instance.
args Arguments forwarded to the method.Method result.
virtual const inline
virtual inline bool operator==(const AbstractDelegate< RT, Args... > & that) constthat Other delegate to compare.True if both delegates wrap the same instance/method pair.