omni::delegate::operator()
NAME

omni::delegate::operator()

A member operator of omni::delegate

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

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

ERRORS

No errors specific to this context.

top

CONSIDERATIONS

No extra considerations.

top

PLATFORM SPECIFIC

Nothing platform specific to account for.

top

NOTES

No additional notes.

top

EXAMPLE
Currently no examples.
Visit the examples page for more.

top