addressOf overloads
Declared in <bsls_util.h>
Return the address of the specified obj.
template<class TYPE>
static
TYPE*
addressOf(TYPE& obj);
» more...
Return the address of the specified function fn.
template<class RESULT>
static
RESULT(*
addressOf(RESULT(& fn)()))();
» more...
Return the address of the specified function fn.
template<
class RESULT,
class ARG>
static
RESULT(*
addressOf(RESULT(& fn)(ARG)))(ARG);
» more...
Return the address of the specified function fn.
template<
class RESULT,
class ARG1,
class ARG2>
static
RESULT(*
addressOf(RESULT(& fn)(ARG1, ARG2)))(ARG1, ARG2);
» more...
objfn| Name | Description |
|---|---|
| obj | object whose address is returned |
| fn | function whose address is returned |