TfCopyIfNotReference<T>::Apply(v)
is used to return a pointer to the value v
.
More...
Static Public Member Functions | |
static T * | Apply (T value) |
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.