BloombergLP::bslalg::HashTableImpUtil_ExtractKeyResult::Impl::test

test overloads

Synopses

Declared in <bslalg_hashtableimputil.h>

Overload selected when extractKey returns KeyType&.

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

Overload selected when extractKey returns const KeyType&.

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

Overload selected when extractKey returns a converted KeyType.

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

Return Value

  • NonConstMatch tag selecting the mutable-reference category
  • ConstMatch tag selecting the const-reference category
  • ConversionMatch tag selecting the by-value category

Parameters

NameDescription
funcpointer to an extractKey returning KeyType&