NAME
A member function of omni::delegate2
OVERLOADS
omni::delegate2::bind_const
A member function of omni::delegate2
#include <omni/delegate/2.hpp>
template < class T, ret_t (T::*fnptr)(p1_t, p2_t) const > static delegate2 omni::delegate2::bind_const(const T& obj)
OVERLOADS
template < class T, ret_t (T::*fnptr)(p1_t, p2_t) const > static delegate2 omni::delegate2::bind_const(const T *const obj)
PARAMETERS
top
obj
- The instance of the class to reference in this delegate T
- The type of class to associate with this delegate fnptr
- The parameterized function to attach to the delegate
top
CONSIDERATIONS
If there is a function currently attached and still running when this call is made to rebind, the attached function will continue to live in an undefined state. It will not stop upon unbinding and will likely have a corrupted stack pointer.
top
If there is a function currently attached and still running when this call is made to rebind, the attached function will continue to live in an undefined state. It will not stop upon unbinding and will likely have a corrupted stack pointer.
top