| 
    Bytemaster's Boost Libraries 
   | 
 
stack based implementation of boost::any that works for const reference types. More...
#include <any_ref.hpp>
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_ref & | operator= (const any_ref &r) | 
| template<typename T > | |
| any_ref & | operator= (const T &v) | 
| template<typename T > | |
| any_ref & | operator= (T &v) | 
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.