omni::delegate2::bind
NAME

omni::delegate2::bind

A static member function of omni::delegate2

#include <omni/delegate/2.hpp>
template < ret_t (*fnptr)(p1_t, p2_t) > static delegate2 omni::delegate2::bind()

OVERLOADS

template < class T, ret_t (T::*fnptr)(p1_t, p2_t) > static delegate2 omni::delegate2::bind(T& obj)
template < class T, ret_t (T::*fnptr)(p1_t, p2_t) > static delegate2 omni::delegate2::bind(const T& obj)
template < class T, ret_t (T::*fnptr)(p1_t, p2_t) > static delegate2 omni::delegate2::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 2 parameters to attach to the delegate

top