Lines Matching refs:it

86     static bool compare( const typename Container::iterator& it, U val ) {
87 return (Value::template convert<U>(*it) == val);
112 typename Map::iterator it = cont.find( 1 );
113 …REQUIRE_MESSAGE((it != cont.end( ) && Value<Map>::get( *(it) ) == 2), "Element with key 1 not prop…
114 cont.unsafe_erase( it );
116 it = cont.find( 1 );
117 REQUIRE_MESSAGE( it == cont.end( ), "Element with key 1 not properly erased" );
124 for(typename MultiMap::iterator it = range.first; it != range.second; ++it) {
127 if((*it).second == targets[i]) {
505 typename T::iterator it;
506 it = range.first;
507 …REQUIRE_MESSAGE((it != cont.end() && Value<T>::get(*it) == 1), "Element 1 has not been found prope…
509 for (; it != range.second; it++)
512 REQUIRE_MESSAGE((Value<T>::get(*it) == 1), "Element 1 has not been found properly");
531 typename T::iterator it = range.first;
532 …REQUIRE_MESSAGE((it != cont.end() && Value<T>::get(*it) == 1), "Element 1 has not been found prope…
533 REQUIRE_MESSAGE((++it == range.second), "Range doesn't have the right number of elements");
538 typename T::iterator it = cont.find(1);
539 …REQUIRE_MESSAGE((it != cont.end() && Value<T>::get(*(it)) == 1), "Element 1 has not been found pro…
540 REQUIRE_MESSAGE(ccont.find(1) == it, "Element 1 has not been found properly");
599 it = range.first;
601 REQUIRE_MESSAGE((it != newcont.end()), "iterator" );
602 REQUIRE_MESSAGE((Value<T>::get(*it) == 1), "value");
604 for (; it != range.second; it++) {
606 REQUIRE_MESSAGE(Value<T>::get(*it) == 1, "Element 1 has not been found properly");
609 range = newcont.equal_range(2); it = range.first;
610 …REQUIRE_MESSAGE((it != newcont.end() && Value<T>::get(*it) == 2), "Element 2 has not been found pr…
612 for (; it != range.second; it++) {
614 REQUIRE_MESSAGE(Value<T>::get(*it) == 2, "Element 2 has not been found properly");
622 it = range.first;
623 …REQUIRE_MESSAGE((it != newcont.end() && Value<T>::get(*it) == 1), "Element 1 has not been found pr…
624 REQUIRE_MESSAGE((++it == range.second), "Range doesn't have the right number of elements");
626 it = range.first;
627 …REQUIRE_MESSAGE((it != newcont.end() && Value<T>::get(*it) == 2), "Element 2 has not been found pr…
628 REQUIRE_MESSAGE((++it == range.second), "Range doesn't have the right number of elements");
732 typename Container::iterator it = my_table.find(i);
734 if (it != my_table.end()) { // found
735 … REQUIRE_MESSAGE(Value<Container>::get(*it) == i, "Element not properly inserted");
880 for (auto it = arr_int.begin(); it != arr_int.end(); ++it) {
881 arr_ref.emplace_back(*it);
1070 iterator it = res.first;
1071 ++it;
1072 REQUIRE(my_c.unsafe_erase(res.first) == it);
1122 for (Iterator it = i; it != j;) {
1123 Iterator prev_it = it++;
1124 auto it2 = std::search(my_lst.begin(), my_lst.end(), prev_it, it, utils::IsEqual());
1305 for (auto it = key.begin(); it != key.end(); ++it) {
1306 sum += first_factor * (*it) + second_factor;
1398 for (auto it = keys.begin(); it != keys.end(); ++it) {
1399 c.insert(Value<Container>::make(*it));
1407 for (auto it = keys.begin(); it != keys.end(); ++it) {
1408 std::string key = *it;
1409 char_key k{*it};
1415 for (auto it = keys.begin(); it != keys.end(); ++it) {
1417 char_key k{*it};
1420 …ng_tests::compare_handle_getters(char_key_extract, Value<Container>::make(*it)), "Incorrect node");
1445 for (auto it = keys.begin(); it != keys.end(); ++it) {
1446 std::string key = *it;
1447 char_key k{*it};