A type dispatcher interface. More...
#include <type_dispatcher.hpp>
Classes | |
class | callback |
An interface to the callback for the concrete type visitor. More... | |
class | callback_base |
The base class for type dispatcher callbacks. More... | |
Protected Types | |
typedef callback_base(* | get_callback_impl_type )(type_dispatcher *, std::type_info const &) |
Pointer to the callback acquisition method. More... | |
Protected Member Functions | |
type_dispatcher (get_callback_impl_type get_callback_impl) BOOST_NOEXCEPT | |
Initializing constructor. More... | |
BOOST_DEFAULTED_FUNCTION (type_dispatcher(type_dispatcher const &that),:m_get_callback_impl(that.m_get_callback_impl){}) public | |
The method requests a callback for the value of type T . More... | |
A type dispatcher interface.
All type dispatchers support this interface. It is used to acquire the visitor interface for the requested type.
|
protected |
Pointer to the callback acquisition method.
|
inlineexplicitprotected |
Initializing constructor.
|
inlineprotected |
The method requests a callback for the value of type T
.