HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TfCopyIfNotReference< T > Class Template Reference

#include <typeFunctions.h>

Static Public Member Functions

static TApply (T value)
 

Detailed Description

template<class T>
class TfCopyIfNotReference< T >

TfCopyIfNotReference<T>::Apply(v) is used to return a pointer to the value v. If T is a non-reference type, then the value returned points to newly constructed dynamic space, which the caller must free. Otherwise, the returned value is the address of v.

Definition at line 114 of file typeFunctions.h.

Member Function Documentation

template<class T >
static T* TfCopyIfNotReference< T >::Apply ( T  value)
inlinestatic

Definition at line 116 of file typeFunctions.h.


The documentation for this class was generated from the following file: