Beispiel #1
0
bool get(const AssociativeContainer& container,
         const KeyType& key,
         MappedType** ppValue)
{
   if (!container.count(key))
      return false;
   
   *ppValue = &(const_cast<AssociativeContainer&>(container)[key]);
   return true;
}
 void const_constraints(const AssociativeContainer& c) {
   ci = c.find(k);
   n = c.count(k);
   cr = c.equal_range(k);
 }