test overloads

Synopses

Declared in <bslalg_hashtableimputil.h>

Overload selected when extractKey returns KeyType&.

template<class ARG>
static
NonConstMatch
test(KeyType&(* func)(ARG&));

Overload selected when extractKey returns const KeyType&.

template<class ARG>
static
ConstMatch
test(KeyType const&(* func)(ARG const&));

Overload selected when extractKey returns a converted KeyType.

template<
    class RESULT,
    class ARG>
static
ConversionMatch
test(RESULT(* func)(ARG));

Return Value

  • NonConstMatch tag selecting the mutable‐reference category

  • ConstMatch tag selecting the const‐reference category

  • ConversionMatch tag selecting the by‐value category

Parameters

Name

Description

func

pointer to an extractKey returning KeyType&

Created with MrDocs