doKeepRef< T > Struct Template Reference
[Templates for DynI and friends]

#include <DoBase.hpp>

List of all members.

Public Member Functions

 doKeepRef (T &t)
 operator T & ()

Public Attributes

T & m_t


Detailed Description

template<class T>
struct doKeepRef< T >

Wrapper around a C++ reference to an instance. C++ cannot have both a function that takes an instance and a function that takes a reference to an instance. This template allows to keep the reference without instantiating. Used in the dispatch functions below (do_try).
The documentation for this struct was generated from the following file:

Generated on Sun Feb 15 16:35:57 2009 for DynObj by  doxygen 1.5.6