OTest2
A C++ testing framework
Static Public Member Functions | List of all members
OTest2::Private::MapTraitImpl< Container_, false > Struct Template Reference

#include <containertrait.h>

Inheritance diagram for OTest2::Private::MapTraitImpl< Container_, false >:
Inheritance graph
[legend]
Collaboration diagram for OTest2::Private::MapTraitImpl< Container_, false >:
Collaboration graph
[legend]

Static Public Member Functions

static bool keyEqual (const Container_ &cont_, typename TypeTrait< typename MapTraitImplCommon< Container_ >::KeyType >::BestArg a_key_, typename TypeTrait< typename MapTraitImplCommon< Container_ >::KeyType >::BestArg b_key_)
 Compare equality of two keys. More...
 
- Static Public Member Functions inherited from OTest2::Private::MapTraitImplCommon< Container_ >
static const_iterator begin (const Container_ &cont_)
 Get the beginning forward iterator. More...
 
static const_iterator end (const Container_ &cont_)
 Get ending iterator. More...
 
static std::pair< const_iterator, const_iteratorequalRange (const Container_ &cont_, typename TypeTrait< KeyType >::BestArg key_)
 Get range of items with the same key. More...
 

Additional Inherited Members

- Public Types inherited from OTest2::Private::MapTraitImplCommon< Container_ >
typedef Container_::key_type KeyType
 Type of the key. More...
 
typedef Container_::mapped_type ValueType
 Type of the mapped value. More...
 
typedef Container_::const_iterator const_iterator
 

Detailed Description

template<typename Container_>
struct OTest2::Private::MapTraitImpl< Container_, false >

Definition at line 137 of file containertrait.h.

Member Function Documentation

◆ keyEqual()

template<typename Container_ >
static bool OTest2::Private::MapTraitImpl< Container_, false >::keyEqual ( const Container_ &  cont_,
typename TypeTrait< typename MapTraitImplCommon< Container_ >::KeyType >::BestArg  a_key_,
typename TypeTrait< typename MapTraitImplCommon< Container_ >::KeyType >::BestArg  b_key_ 
)
inlinestatic

Compare equality of two keys.

Definition at line 142 of file containertrait.h.


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