Bytemaster's Boost Libraries
Public Member Functions
boost::any_ref Class Reference

stack based implementation of boost::any that works for const reference types. More...

#include <any_ref.hpp>

List of all members.

Public Member Functions

template<typename T >
 any_ref (const T &v)
template<typename T >
 any_ref (T &v)
const std::type_info & type () const
template<typename T >
 operator const T & () const
template<typename T >
const T * const_ptr () const
template<typename T >
 operator T & () const
template<typename T >
T * ptr () const
any_refoperator= (const any_ref &r)
template<typename T >
any_refoperator= (const T &v)
template<typename T >
any_refoperator= (T &v)

Detailed Description

stack based implementation of boost::any that works for const reference types.

The motivation behind creating this class was to provide a polymorphic interface to methods of different signatures. This is useful for runtime invocation of methods.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Defines