omni::delegate10::operator bool
NAME

omni::delegate10::operator bool

A member operator of omni::delegate10

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

top

RETURN VALUES

True if the delegate is attached

top