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
-
NonConstMatchtag selecting the mutable‐reference category -
ConstMatchtag selecting the const‐reference category -
ConversionMatchtag selecting the by‐value category
Parameters
Name |
Description |
func |
pointer to an |
Created with MrDocs