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