Return the address of the specified function fn.
Synopsis
Declared in <bsls_util.h>
template<class RESULT>
static
RESULT(*
addressOf(RESULT(& fn)()))();
Description
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.
Return Value
address of fn
Parameters
Name |
Description |
fn |
function whose address is returned |
Created with MrDocs