BDE 4.14.0 Production release
Loading...
Searching...
No Matches
bslalg::HashTableImpUtil_ExtractKeyResult< KEY_CONFIG > Struct Template Reference

#include <bslalg_hashtableimputil.h>

Classes

struct  ConstMatch
 
struct  ConversionMatch
 
struct  Impl
 
struct  NonConstMatch
 

Public Types

enum  { RESULT_SELECTOR = sizeof(Impl::test(&KEY_CONFIG::extractKey)) }
 
typedef KEY_CONFIG::KeyType KeyType
 
typedef KEY_CONFIG::ValueType ValueType
 
typedef bsl::conditional< RESULT_SELECTOR==sizeof(ConstMatch), constKeyType &, typenamebsl::conditional< RESULT_SELECTOR==sizeof(NonConstMatch), KeyType &, KeyType >::type >::type Type
 

Member Typedef Documentation

◆ KeyType

template<class KEY_CONFIG >
typedef KEY_CONFIG::KeyType bslalg::HashTableImpUtil_ExtractKeyResult< KEY_CONFIG >::KeyType

◆ Type

template<class KEY_CONFIG >
typedef bsl::conditional<RESULT_SELECTOR==sizeof(ConstMatch),constKeyType&,typenamebsl::conditional<RESULT_SELECTOR==sizeof(NonConstMatch),KeyType&,KeyType>::type>::type bslalg::HashTableImpUtil_ExtractKeyResult< KEY_CONFIG >::Type

◆ ValueType

template<class KEY_CONFIG >
typedef KEY_CONFIG::ValueType bslalg::HashTableImpUtil_ExtractKeyResult< KEY_CONFIG >::ValueType

Member Enumeration Documentation

◆ anonymous enum

template<class KEY_CONFIG >
anonymous enum
Enumerator
RESULT_SELECTOR 

The documentation for this struct was generated from the following file: