Return the address of the specified function fn. Note that this implementation supports functions of only a limited number of parameters, determined by the current needs of the BDE software. A more general form that will support an arbitrary number of function parameters will be available with C++11.

Synopsis

Declared in <bsls_util.h>

template<class RESULT>
static
RESULT(*
addressOf(RESULT(& fn)()))();

Created with MrDocs