omni::delegate1::operator()
NAME

omni::delegate1::operator()

A member operator of omni::delegate1

#include <omni/delegate/1.hpp>
inline ret_t omni::delegate1::operator()(p1_t val1)

SYNOPSIS

Has the same effect as calling the invoke method. Overloading this operator makes it such that you can use the delegate as if it were a function. delegate<int> d = &some_func; printf("value = %d", d());

top

DESCRIPTION

No description.

top

RETURN VALUES

The return type specified at compile time

top