omni::delegate10::operator
NAME

omni::delegate10::operator

A member operator of omni::delegate10

#include <omni/delegate/10.hpp>
inline ret_t omni::delegate10::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