swift
Classes | Namespaces | Typedefs | Functions
dictionary.h File Reference

Go to the source code of this file.

Classes

class  swift::misc::CDictionary< Key, Value, Impl >
 Associative container with value semantics, chooses a sensible default implementation container type. More...
 

Namespaces

 swift::misc
 Free functions in swift::misc.
 

Typedefs

template<typename K , typename V >
using swift::misc::TDefaultAssociativeType = typename private_ns::TAssociativityTraits< TModelsQHashKey< K >::value, TModelsQMapKey< K >::value >::template DefaultType< K, V >
 Trait to select the appropriate default associative container type depending on what the key type supports.
 

Functions

template<class Key , class Value >
QMap< Key, Value > & swift::misc::implementationOf (QMap< Key, Value > &dict)
 Identity function for API consistency with CDictionary::implementationOf.
 
template<class Key , class Value >
const QMap< Key, Value > & swift::misc::implementationOf (const QMap< Key, Value > &dict)
 Identity function for API consistency with CDictionary::implementationOf.
 
template<class Map1 , class Map2 , class F >
void swift::misc::forEachIntersection (const Map1 &map1, const Map2 &map2, F functor)
 Call a functor for each {key,value1,value2} triple in the keywise intersection of two maps.