Template Function ecl::addressOf

Function Documentation

template<typename T>
T *ecl::addressOf(T &v)

Returns the address of an object (uses correct c++ syntactics).

Parameters:

v – : the object located at this address.

Template Parameters:

T – : the type of the object.

Returns:

T* : a pointer to the object.