omni::delegate10::bind
NAME

omni::delegate10::bind

A member function of omni::delegate10

#include <omni/delegate/10.hpp>
template < ret_t (*fnptr)(p1_t, p2_t, p3_t, p4_t, p5_t, p6_t, p7_t, p8_t, p9_t, p10_t) > static delegate10 omni::delegate10::bind()


OVERLOADS

template < class T, ret_t (T::*fnptr)(p1_t, p2_t, p3_t, p4_t, p5_t, p6_t, p7_t, p8_t, p9_t, p10_t) > static delegate10 omni::delegate10::bind(T& obj)
template < class T, ret_t (T::*fnptr)(p1_t, p2_t, p3_t, p4_t, p5_t, p6_t, p7_t, p8_t, p9_t, p10_t) > static delegate10 omni::delegate10::bind(const T& obj)
template < class T, ret_t (T::*fnptr)(p1_t, p2_t, p3_t, p4_t, p5_t, p6_t, p7_t, p8_t, p9_t, p10_t) > static delegate10 omni::delegate10::bind(const T *const obj)

SYNOPSIS

Attach a static member or non-member function to this delegate.

top

DESCRIPTION

No description.

top

PARAMETERS

fnptr - The function taking 10 parameters 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