omni::delegate12::operator
NAME

omni::delegate12::operator

A member operator of omni::delegate12

#include <omni/delegate/12.hpp>
inline ret_t omni::delegate12::operator()

SYNOPSIS

Has the same effect as calling the invoke method.

top

DESCRIPTION

Overloading this operator makes it such that you can use the delegate as if it were a function, for example:

delegate<int> d = &some_func; printf("value = %d", d());

top

RETURN VALUES

The return type specified at compile time

top