NewClone Class Template Reference

Policy for null_pointer. More...

List of all members.

Static Public Member Functions

static T * clone (T *input)
 Clones and returns the given pointer by "return new(*input);".


Detailed Description

template<class T>
class SmartUtil::NewClone< T >

Policy for null_pointer.

Basically just copies the contained pointer by calling "new"

Back to SmartWin website
SourceForge.net Logo