Return the address of the specified function fn.

Synopsis

Declared in <bsls_util.h>

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

Description

Note that this implementation supports functions of only a limited number of parameters, determined by the current needs of the BDE software.

Return Value

address of fn

Parameters

Name

Description

fn

function whose address is returned

Created with MrDocs