Main Page Namespace List Class Hierarchy Compound List File List Namespace Members Compound Members File Members
CopyAsNominalType< T > Struct Template Reference
#include <allocatingpointer.h>
Inheritance diagram for CopyAsNominalType< T >:
[legend]Collaboration diagram for CopyAsNominalType< T >:
[legend]List of all members.
Detailed Description
template<class T>
struct CopyAsNominalType< T >
Returns a copy of the given object.
It allocates only the nominal type T, and will thus slice objects which happen to be of a derived type rather than the nominal type.
Definition at line 19 of file allocatingpointer.h.
|
Public Methods |
T * | operator() (const T &value) |
The documentation for this struct was generated from the following file:
Generated on Mon Jan 20 02:36:57 2003 for RF-LISSOM by
1.3-rc2