boost::log::type_dispatcher::callback
// In header: <boost/log/utility/type_dispatch/type_dispatcher.hpp> template<typename T> class callback { public: // public member functions void operator()(T const &) const; explicit operator bool() const noexcept; bool operator!() const noexcept; };
This interface is used by type dispatchers to consume the dispatched value.
callback
public member functionsvoid operator()(T const & value) const;
The operator invokes the visitor-specific logic with the given value
Parameters: |
|
explicit operator bool() const noexcept;
The operator checks if the visitor is attached to a receiver
bool operator!() const noexcept;
The operator checks if the visitor is not attached to a receiver