boost::openmethod::virtual_traits<boost::type_erasure::any<C, T&>, Registry>
Specialize virtual_traits for the mutable any reference, boost::type_erasure::any<Concept, _self&>, passed by value.
Synopsis
Declared in <boost/openmethod/interop/boost_type_erasure.hpp>
template<
class C,
typename T,
class Registry>
struct virtual_traits<boost::type_erasure::any<C, T&>, Registry>;
Description
The any references are cheap, two‐word handles; passing them by value is the idiomatic way to use them as parameters. Dispatch is on the type bound at construction, obtained via boost::type_erasure::typeid_of ‐ not the C++ RTTI dynamic type of the referent. Concept must contain boost::type_erasure::typeid_<>; relaxed implies it.
Template Parameters
Name |
Description |
C |
The |
T |
The referent placeholder ( |
Registry |
A |
See Also
Created with MrDocs