Boost Reflect Library 0.1.0
Classes | Functions
any_ptr.hpp File Reference
#include <boost/shared_ptr.hpp>
#include <boost/any.hpp>
#include <boost/reflect/vtable.hpp>
#include <boost/reflect/mirror_interface.hpp>

Go to the source code of this file.

Classes

class  any_ptr< InterfaceType, InterfaceDelegate >
 Behaves like a smart pointer that can handle any type with the same interface. More...

Functions

template<typename InterfaceType , typename InterfaceDelegate , typename Visitor >
void visit (const any_ptr< InterfaceType, InterfaceDelegate > &aptr, Visitor v)
 Helper function to enable automatic type deduction.

© Daniel Larimer 2010-2011 - Licensed under Boost Software License, Version 1.0 Boost Reflect Library