boost::log::type_dispatcher — A type dispatcher interface.
// In header: <boost/log/utility/type_dispatch/type_dispatcher.hpp> struct type_dispatcher { // construct/copy/destruct ~type_dispatcher(); // public member functions template<typename T> type_visitor< T > * get_visitor(); };
All type dispatchers support this interface. It is used to acquire the visitor interface for the requested type.
type_dispatcher
public member functionstemplate<typename T> type_visitor< T > * get_visitor();
The method requests a type visitor for a value of type T
Returns: | The type-specific visitor or NULL, if the type is not supported |