boost::openmethod::policies::std_rtti
Implements the rtti policy using standard RTTI.
Synopsis
Declared in <boost/openmethod/policies/std_rtti.hpp>
struct std_rtti
: rtti
Description
std_rtti implements the rtti policy using the standard C++ RTTI system. It is the default RTTI policy.
Example
struct dynamic_registry : registry<
policies::std_rtti, policies::fast_perfect_hash,
policies::vptr_vector> {};
Dog snoopy;
Animal& animal = snoopy;
std::cout << trick(virtual_ptr<Animal, dynamic_registry>(animal))
<< "\n"; // spin
See Also
Created with MrDocs