omni::delegate12::operator bool
NAME

omni::delegate12::operator bool

A operator of omni::delegate12

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

SYNOPSIS

The boolean operator allows you to check for validity as if the delegate were a function pointer, example: delegate<int> d; if (d) { d(); } // fails check because d is not attached d = &some_func; if (d) { d(); } // success because d is bound

top

DESCRIPTION

No description found.

top

RETURN VALUES

True if the delegate is attached

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