Lines Matching refs:cont
341 Container cont; in template_methods() local
342 cont.insert(value(Key(1), 1)); in template_methods()
343 cont.insert(value(Key(2), 2)); in template_methods()
344 cont.insert(value(Key(3), 3)); in template_methods()
345 cont.insert(value(Key(4), 4)); in template_methods()
347 CPPUNIT_ASSERT( cont.count(Key(1)) == 1 ); in template_methods()
348 CPPUNIT_ASSERT( cont.count(1) == 1 ); in template_methods()
349 CPPUNIT_ASSERT( cont.count(5) == 0 ); in template_methods()
351 CPPUNIT_ASSERT( cont.find(2) != cont.end() ); in template_methods()
352 CPPUNIT_ASSERT( cont.lower_bound(2) != cont.end() ); in template_methods()
353 CPPUNIT_ASSERT( cont.upper_bound(2) != cont.end() ); in template_methods()
354 CPPUNIT_ASSERT( cont.equal_range(2) != make_pair(cont.begin(), cont.end()) ); in template_methods()
356 Container const& ccont = cont; in template_methods()
366 Container cont; in template_methods() local
368 cont.insert(value(&key1, 1)); in template_methods()
369 cont.insert(value(&key2, 2)); in template_methods()
370 cont.insert(value(&key3, 3)); in template_methods()
371 cont.insert(value(&key4, 4)); in template_methods()
373 CPPUNIT_ASSERT( cont.count(1) == 1 ); in template_methods()
374 CPPUNIT_ASSERT( cont.count(5) == 0 ); in template_methods()
376 CPPUNIT_ASSERT( cont.find(2) != cont.end() ); in template_methods()
377 CPPUNIT_ASSERT( cont.lower_bound(2) != cont.end() ); in template_methods()
378 CPPUNIT_ASSERT( cont.upper_bound(2) != cont.end() ); in template_methods()
379 CPPUNIT_ASSERT( cont.equal_range(2) != make_pair(cont.begin(), cont.end()) ); in template_methods()
381 Container const& ccont = cont; in template_methods()
390 Container cont; in template_methods() local
391 cont.insert(value(Key(1), 1)); in template_methods()
392 cont.insert(value(Key(2), 2)); in template_methods()
393 cont.insert(value(Key(3), 3)); in template_methods()
394 cont.insert(value(Key(4), 4)); in template_methods()
396 CPPUNIT_ASSERT( cont.count(Key(1)) == 1 ); in template_methods()
397 CPPUNIT_ASSERT( cont.count(1) == 1 ); in template_methods()
398 CPPUNIT_ASSERT( cont.count(5) == 0 ); in template_methods()
400 CPPUNIT_ASSERT( cont.find(2) != cont.end() ); in template_methods()
401 CPPUNIT_ASSERT( cont.lower_bound(2) != cont.end() ); in template_methods()
402 CPPUNIT_ASSERT( cont.upper_bound(2) != cont.end() ); in template_methods()
403 CPPUNIT_ASSERT( cont.equal_range(2) != make_pair(cont.begin(), cont.end()) ); in template_methods()
405 Container const& ccont = cont; in template_methods()
415 Container cont; in template_methods() local
417 cont.insert(value(&key1, 1)); in template_methods()
418 cont.insert(value(&key2, 2)); in template_methods()
419 cont.insert(value(&key3, 3)); in template_methods()
420 cont.insert(value(&key4, 4)); in template_methods()
422 CPPUNIT_ASSERT( cont.count(1) == 1 ); in template_methods()
423 CPPUNIT_ASSERT( cont.count(5) == 0 ); in template_methods()
425 CPPUNIT_ASSERT( cont.find(2) != cont.end() ); in template_methods()
426 CPPUNIT_ASSERT( cont.lower_bound(2) != cont.end() ); in template_methods()
427 CPPUNIT_ASSERT( cont.upper_bound(2) != cont.end() ); in template_methods()
428 CPPUNIT_ASSERT( cont.equal_range(2) != make_pair(cont.begin(), cont.end()) ); in template_methods()
430 Container const& ccont = cont; in template_methods()