Lines Matching refs:it

42             json::iterator it;  variable
43 CHECK(it.m_object == nullptr);
56 json::iterator it = j.begin(); variable
57 CHECK(it != j.end());
58 CHECK(*it == j);
60 it++;
61 CHECK(it != j.begin());
62 CHECK(it == j.end());
64 it--;
65 CHECK(it == j.begin());
66 CHECK(it != j.end());
67 CHECK(*it == j);
69 ++it;
70 CHECK(it != j.begin());
71 CHECK(it == j.end());
73 --it;
74 CHECK(it == j.begin());
75 CHECK(it != j.end());
76 CHECK(*it == j);
81 json::const_iterator it = j_const.begin(); variable
82 CHECK(it != j_const.end());
83 CHECK(*it == j_const);
85 it++;
86 CHECK(it != j_const.begin());
87 CHECK(it == j_const.end());
89 it--;
90 CHECK(it == j_const.begin());
91 CHECK(it != j_const.end());
92 CHECK(*it == j_const);
94 ++it;
95 CHECK(it != j_const.begin());
96 CHECK(it == j_const.end());
98 --it;
99 CHECK(it == j_const.begin());
100 CHECK(it != j_const.end());
101 CHECK(*it == j_const);
106 json::const_iterator it = j.cbegin(); variable
107 CHECK(it != j.cend());
108 CHECK(*it == j);
110 it++;
111 CHECK(it != j.cbegin());
112 CHECK(it == j.cend());
114 it--;
115 CHECK(it == j.cbegin());
116 CHECK(it != j.cend());
117 CHECK(*it == j);
119 ++it;
120 CHECK(it != j.cbegin());
121 CHECK(it == j.cend());
123 --it;
124 CHECK(it == j.cbegin());
125 CHECK(it != j.cend());
126 CHECK(*it == j);
131 json::const_iterator it = j_const.cbegin(); variable
132 CHECK(it != j_const.cend());
133 CHECK(*it == j_const);
135 it++;
136 CHECK(it != j_const.cbegin());
137 CHECK(it == j_const.cend());
139 it--;
140 CHECK(it == j_const.cbegin());
141 CHECK(it != j_const.cend());
142 CHECK(*it == j_const);
144 ++it;
145 CHECK(it != j_const.cbegin());
146 CHECK(it == j_const.cend());
148 --it;
149 CHECK(it == j_const.cbegin());
150 CHECK(it != j_const.cend());
151 CHECK(*it == j_const);
156 json::reverse_iterator it = j.rbegin(); variable
157 CHECK(it != j.rend());
158 CHECK(*it == j);
160 it++;
161 CHECK(it != j.rbegin());
162 CHECK(it == j.rend());
164 it--;
165 CHECK(it == j.rbegin());
166 CHECK(it != j.rend());
167 CHECK(*it == j);
169 ++it;
170 CHECK(it != j.rbegin());
171 CHECK(it == j.rend());
173 --it;
174 CHECK(it == j.rbegin());
175 CHECK(it != j.rend());
176 CHECK(*it == j);
181 json::const_reverse_iterator it = j.crbegin(); variable
182 CHECK(it != j.crend());
183 CHECK(*it == j);
185 it++;
186 CHECK(it != j.crbegin());
187 CHECK(it == j.crend());
189 it--;
190 CHECK(it == j.crbegin());
191 CHECK(it != j.crend());
192 CHECK(*it == j);
194 ++it;
195 CHECK(it != j.crbegin());
196 CHECK(it == j.crend());
198 --it;
199 CHECK(it == j.crbegin());
200 CHECK(it != j.crend());
201 CHECK(*it == j);
206 json::const_reverse_iterator it = j_const.crbegin(); variable
207 CHECK(it != j_const.crend());
208 CHECK(*it == j_const);
210 it++;
211 CHECK(it != j_const.crbegin());
212 CHECK(it == j_const.crend());
214 it--;
215 CHECK(it == j_const.crbegin());
216 CHECK(it != j_const.crend());
217 CHECK(*it == j_const);
219 ++it;
220 CHECK(it != j_const.crbegin());
221 CHECK(it == j_const.crend());
223 --it;
224 CHECK(it == j_const.crbegin());
225 CHECK(it != j_const.crend());
226 CHECK(*it == j_const);
339 auto it = j.begin(); variable
341 CHECK_THROWS_AS(it.key(), json::invalid_iterator&);
342 …CHECK_THROWS_WITH(it.key(), "[json.exception.invalid_iterator.207] cannot use key() for non-object…
343 CHECK(it.value() == json(true));
368 json::iterator it = j.begin(); variable
369 CHECK(it != j.end());
370 CHECK(*it == j);
372 it++;
373 CHECK(it != j.begin());
374 CHECK(it == j.end());
376 it--;
377 CHECK(it == j.begin());
378 CHECK(it != j.end());
379 CHECK(*it == j);
381 ++it;
382 CHECK(it != j.begin());
383 CHECK(it == j.end());
385 --it;
386 CHECK(it == j.begin());
387 CHECK(it != j.end());
388 CHECK(*it == j);
393 json::const_iterator it = j_const.begin(); variable
394 CHECK(it != j_const.end());
395 CHECK(*it == j_const);
397 it++;
398 CHECK(it != j_const.begin());
399 CHECK(it == j_const.end());
401 it--;
402 CHECK(it == j_const.begin());
403 CHECK(it != j_const.end());
404 CHECK(*it == j_const);
406 ++it;
407 CHECK(it != j_const.begin());
408 CHECK(it == j_const.end());
410 --it;
411 CHECK(it == j_const.begin());
412 CHECK(it != j_const.end());
413 CHECK(*it == j_const);
418 json::const_iterator it = j.cbegin(); variable
419 CHECK(it != j.cend());
420 CHECK(*it == j);
422 it++;
423 CHECK(it != j.cbegin());
424 CHECK(it == j.cend());
426 it--;
427 CHECK(it == j.cbegin());
428 CHECK(it != j.cend());
429 CHECK(*it == j);
431 ++it;
432 CHECK(it != j.cbegin());
433 CHECK(it == j.cend());
435 --it;
436 CHECK(it == j.cbegin());
437 CHECK(it != j.cend());
438 CHECK(*it == j);
443 json::const_iterator it = j_const.cbegin(); variable
444 CHECK(it != j_const.cend());
445 CHECK(*it == j_const);
447 it++;
448 CHECK(it != j_const.cbegin());
449 CHECK(it == j_const.cend());
451 it--;
452 CHECK(it == j_const.cbegin());
453 CHECK(it != j_const.cend());
454 CHECK(*it == j_const);
456 ++it;
457 CHECK(it != j_const.cbegin());
458 CHECK(it == j_const.cend());
460 --it;
461 CHECK(it == j_const.cbegin());
462 CHECK(it != j_const.cend());
463 CHECK(*it == j_const);
468 json::reverse_iterator it = j.rbegin(); variable
469 CHECK(it != j.rend());
470 CHECK(*it == j);
472 it++;
473 CHECK(it != j.rbegin());
474 CHECK(it == j.rend());
476 it--;
477 CHECK(it == j.rbegin());
478 CHECK(it != j.rend());
479 CHECK(*it == j);
481 ++it;
482 CHECK(it != j.rbegin());
483 CHECK(it == j.rend());
485 --it;
486 CHECK(it == j.rbegin());
487 CHECK(it != j.rend());
488 CHECK(*it == j);
493 json::const_reverse_iterator it = j.crbegin(); variable
494 CHECK(it != j.crend());
495 CHECK(*it == j);
497 it++;
498 CHECK(it != j.crbegin());
499 CHECK(it == j.crend());
501 it--;
502 CHECK(it == j.crbegin());
503 CHECK(it != j.crend());
504 CHECK(*it == j);
506 ++it;
507 CHECK(it != j.crbegin());
508 CHECK(it == j.crend());
510 --it;
511 CHECK(it == j.crbegin());
512 CHECK(it != j.crend());
513 CHECK(*it == j);
518 json::const_reverse_iterator it = j_const.crbegin(); variable
519 CHECK(it != j_const.crend());
520 CHECK(*it == j_const);
522 it++;
523 CHECK(it != j_const.crbegin());
524 CHECK(it == j_const.crend());
526 it--;
527 CHECK(it == j_const.crbegin());
528 CHECK(it != j_const.crend());
529 CHECK(*it == j_const);
531 ++it;
532 CHECK(it != j_const.crbegin());
533 CHECK(it == j_const.crend());
535 --it;
536 CHECK(it == j_const.crbegin());
537 CHECK(it != j_const.crend());
538 CHECK(*it == j_const);
543 auto it = j.begin(); variable
545 CHECK_THROWS_AS(it.key(), json::invalid_iterator&);
546 …CHECK_THROWS_WITH(it.key(), "[json.exception.invalid_iterator.207] cannot use key() for non-object…
547 CHECK(it.value() == json("hello world"));
575 auto it = it_begin; variable
576 CHECK(it != it_end);
577 CHECK(*it == j[0]);
579 it++;
580 CHECK(it != it_begin);
581 CHECK(it != it_end);
582 CHECK(*it == j[1]);
584 ++it;
585 CHECK(it != it_begin);
586 CHECK(it != it_end);
587 CHECK(*it == j[2]);
589 ++it;
590 CHECK(it != it_begin);
591 CHECK(it == it_end);
599 auto it = it_begin; variable
600 CHECK(it != it_end);
601 CHECK(*it == j_const[0]);
603 it++;
604 CHECK(it != it_begin);
605 CHECK(it != it_end);
606 CHECK(*it == j_const[1]);
608 ++it;
609 CHECK(it != it_begin);
610 CHECK(it != it_end);
611 CHECK(*it == j_const[2]);
613 ++it;
614 CHECK(it != it_begin);
615 CHECK(it == it_end);
623 auto it = it_begin; variable
624 CHECK(it != it_end);
625 CHECK(*it == j[0]);
627 it++;
628 CHECK(it != it_begin);
629 CHECK(it != it_end);
630 CHECK(*it == j[1]);
632 ++it;
633 CHECK(it != it_begin);
634 CHECK(it != it_end);
635 CHECK(*it == j[2]);
637 ++it;
638 CHECK(it != it_begin);
639 CHECK(it == it_end);
647 auto it = it_begin; variable
648 CHECK(it != it_end);
649 CHECK(*it == j[0]);
651 it++;
652 CHECK(it != it_begin);
653 CHECK(it != it_end);
654 CHECK(*it == j[1]);
656 ++it;
657 CHECK(it != it_begin);
658 CHECK(it != it_end);
659 CHECK(*it == j[2]);
661 ++it;
662 CHECK(it != it_begin);
663 CHECK(it == it_end);
671 auto it = it_begin; variable
672 CHECK(it != it_end);
673 CHECK(*it == j[2]);
675 it++;
676 CHECK(it != it_begin);
677 CHECK(it != it_end);
678 CHECK(*it == j[1]);
680 ++it;
681 CHECK(it != it_begin);
682 CHECK(it != it_end);
683 CHECK(*it == j[0]);
685 ++it;
686 CHECK(it != it_begin);
687 CHECK(it == it_end);
695 auto it = it_begin; variable
696 CHECK(it != it_end);
697 CHECK(*it == j[2]);
699 it++;
700 CHECK(it != it_begin);
701 CHECK(it != it_end);
702 CHECK(*it == j[1]);
704 ++it;
705 CHECK(it != it_begin);
706 CHECK(it != it_end);
707 CHECK(*it == j[0]);
709 ++it;
710 CHECK(it != it_begin);
711 CHECK(it == it_end);
719 auto it = it_begin; variable
720 CHECK(it != it_end);
721 CHECK(*it == j[2]);
723 it++;
724 CHECK(it != it_begin);
725 CHECK(it != it_end);
726 CHECK(*it == j[1]);
728 ++it;
729 CHECK(it != it_begin);
730 CHECK(it != it_end);
731 CHECK(*it == j[0]);
733 ++it;
734 CHECK(it != it_begin);
735 CHECK(it == it_end);
740 auto it = j.begin(); variable
742 CHECK_THROWS_AS(it.key(), json::invalid_iterator&);
743 …CHECK_THROWS_WITH(it.key(), "[json.exception.invalid_iterator.207] cannot use key() for non-object…
744 CHECK(it.value() == json(1));
761 auto it = it_begin; variable
762 CHECK(it != it_end);
763 CHECK(*it == j["A"]);
765 it++;
766 CHECK(it != it_begin);
767 CHECK(it != it_end);
768 CHECK(*it == j["B"]);
770 ++it;
771 CHECK(it != it_begin);
772 CHECK(it != it_end);
773 CHECK(*it == j["C"]);
775 ++it;
776 CHECK(it != it_begin);
777 CHECK(it == it_end);
785 auto it = it_begin; variable
786 CHECK(it != it_end);
787 CHECK(*it == j_const["A"]);
789 it++;
790 CHECK(it != it_begin);
791 CHECK(it != it_end);
792 CHECK(*it == j_const["B"]);
794 ++it;
795 CHECK(it != it_begin);
796 CHECK(it != it_end);
797 CHECK(*it == j_const["C"]);
799 ++it;
800 CHECK(it != it_begin);
801 CHECK(it == it_end);
809 auto it = it_begin; variable
810 CHECK(it != it_end);
811 CHECK(*it == j["A"]);
813 it++;
814 CHECK(it != it_begin);
815 CHECK(it != it_end);
816 CHECK(*it == j["B"]);
818 ++it;
819 CHECK(it != it_begin);
820 CHECK(it != it_end);
821 CHECK(*it == j["C"]);
823 ++it;
824 CHECK(it != it_begin);
825 CHECK(it == it_end);
833 auto it = it_begin; variable
834 CHECK(it != it_end);
835 CHECK(*it == j_const["A"]);
837 it++;
838 CHECK(it != it_begin);
839 CHECK(it != it_end);
840 CHECK(*it == j_const["B"]);
842 ++it;
843 CHECK(it != it_begin);
844 CHECK(it != it_end);
845 CHECK(*it == j_const["C"]);
847 ++it;
848 CHECK(it != it_begin);
849 CHECK(it == it_end);
857 auto it = it_begin; variable
858 CHECK(it != it_end);
859 CHECK(*it == j["C"]);
861 it++;
862 CHECK(it != it_begin);
863 CHECK(it != it_end);
864 CHECK(*it == j["B"]);
866 ++it;
867 CHECK(it != it_begin);
868 CHECK(it != it_end);
869 CHECK(*it == j["A"]);
871 ++it;
872 CHECK(it != it_begin);
873 CHECK(it == it_end);
881 auto it = it_begin; variable
882 CHECK(it != it_end);
883 CHECK(*it == j["C"]);
885 it++;
886 CHECK(it != it_begin);
887 CHECK(it != it_end);
888 CHECK(*it == j["B"]);
890 ++it;
891 CHECK(it != it_begin);
892 CHECK(it != it_end);
893 CHECK(*it == j["A"]);
895 ++it;
896 CHECK(it != it_begin);
897 CHECK(it == it_end);
905 auto it = it_begin; variable
906 CHECK(it != it_end);
907 CHECK(*it == j["C"]);
909 it++;
910 CHECK(it != it_begin);
911 CHECK(it != it_end);
912 CHECK(*it == j["B"]);
914 ++it;
915 CHECK(it != it_begin);
916 CHECK(it != it_end);
917 CHECK(*it == j["A"]);
919 ++it;
920 CHECK(it != it_begin);
921 CHECK(it == it_end);
926 auto it = j.begin(); variable
928 CHECK(it.key() == "A");
929 CHECK(it.value() == json(1));
942 json::iterator it = j.begin(); variable
943 CHECK(it != j.end());
944 CHECK(*it == j);
946 it++;
947 CHECK(it != j.begin());
948 CHECK(it == j.end());
950 it--;
951 CHECK(it == j.begin());
952 CHECK(it != j.end());
953 CHECK(*it == j);
955 ++it;
956 CHECK(it != j.begin());
957 CHECK(it == j.end());
959 --it;
960 CHECK(it == j.begin());
961 CHECK(it != j.end());
962 CHECK(*it == j);
967 json::const_iterator it = j_const.begin(); variable
968 CHECK(it != j_const.end());
969 CHECK(*it == j_const);
971 it++;
972 CHECK(it != j_const.begin());
973 CHECK(it == j_const.end());
975 it--;
976 CHECK(it == j_const.begin());
977 CHECK(it != j_const.end());
978 CHECK(*it == j_const);
980 ++it;
981 CHECK(it != j_const.begin());
982 CHECK(it == j_const.end());
984 --it;
985 CHECK(it == j_const.begin());
986 CHECK(it != j_const.end());
987 CHECK(*it == j_const);
992 json::const_iterator it = j.cbegin(); variable
993 CHECK(it != j.cend());
994 CHECK(*it == j);
996 it++;
997 CHECK(it != j.cbegin());
998 CHECK(it == j.cend());
1000 it--;
1001 CHECK(it == j.cbegin());
1002 CHECK(it != j.cend());
1003 CHECK(*it == j);
1005 ++it;
1006 CHECK(it != j.cbegin());
1007 CHECK(it == j.cend());
1009 --it;
1010 CHECK(it == j.cbegin());
1011 CHECK(it != j.cend());
1012 CHECK(*it == j);
1017 json::const_iterator it = j_const.cbegin(); variable
1018 CHECK(it != j_const.cend());
1019 CHECK(*it == j_const);
1021 it++;
1022 CHECK(it != j_const.cbegin());
1023 CHECK(it == j_const.cend());
1025 it--;
1026 CHECK(it == j_const.cbegin());
1027 CHECK(it != j_const.cend());
1028 CHECK(*it == j_const);
1030 ++it;
1031 CHECK(it != j_const.cbegin());
1032 CHECK(it == j_const.cend());
1034 --it;
1035 CHECK(it == j_const.cbegin());
1036 CHECK(it != j_const.cend());
1037 CHECK(*it == j_const);
1042 json::reverse_iterator it = j.rbegin(); variable
1043 CHECK(it != j.rend());
1044 CHECK(*it == j);
1046 it++;
1047 CHECK(it != j.rbegin());
1048 CHECK(it == j.rend());
1050 it--;
1051 CHECK(it == j.rbegin());
1052 CHECK(it != j.rend());
1053 CHECK(*it == j);
1055 ++it;
1056 CHECK(it != j.rbegin());
1057 CHECK(it == j.rend());
1059 --it;
1060 CHECK(it == j.rbegin());
1061 CHECK(it != j.rend());
1062 CHECK(*it == j);
1067 json::const_reverse_iterator it = j.crbegin(); variable
1068 CHECK(it != j.crend());
1069 CHECK(*it == j);
1071 it++;
1072 CHECK(it != j.crbegin());
1073 CHECK(it == j.crend());
1075 it--;
1076 CHECK(it == j.crbegin());
1077 CHECK(it != j.crend());
1078 CHECK(*it == j);
1080 ++it;
1081 CHECK(it != j.crbegin());
1082 CHECK(it == j.crend());
1084 --it;
1085 CHECK(it == j.crbegin());
1086 CHECK(it != j.crend());
1087 CHECK(*it == j);
1092 json::const_reverse_iterator it = j_const.crbegin(); variable
1093 CHECK(it != j_const.crend());
1094 CHECK(*it == j_const);
1096 it++;
1097 CHECK(it != j_const.crbegin());
1098 CHECK(it == j_const.crend());
1100 it--;
1101 CHECK(it == j_const.crbegin());
1102 CHECK(it != j_const.crend());
1103 CHECK(*it == j_const);
1105 ++it;
1106 CHECK(it != j_const.crbegin());
1107 CHECK(it == j_const.crend());
1109 --it;
1110 CHECK(it == j_const.crbegin());
1111 CHECK(it != j_const.crend());
1112 CHECK(*it == j_const);
1117 auto it = j.begin(); variable
1119 CHECK_THROWS_AS(it.key(), json::invalid_iterator&);
1120 …CHECK_THROWS_WITH(it.key(), "[json.exception.invalid_iterator.207] cannot use key() for non-object…
1121 CHECK(it.value() == json(23));
1146 json::iterator it = j.begin(); variable
1147 CHECK(it != j.end());
1148 CHECK(*it == j);
1150 it++;
1151 CHECK(it != j.begin());
1152 CHECK(it == j.end());
1154 it--;
1155 CHECK(it == j.begin());
1156 CHECK(it != j.end());
1157 CHECK(*it == j);
1159 ++it;
1160 CHECK(it != j.begin());
1161 CHECK(it == j.end());
1163 --it;
1164 CHECK(it == j.begin());
1165 CHECK(it != j.end());
1166 CHECK(*it == j);
1171 json::const_iterator it = j_const.begin(); variable
1172 CHECK(it != j_const.end());
1173 CHECK(*it == j_const);
1175 it++;
1176 CHECK(it != j_const.begin());
1177 CHECK(it == j_const.end());
1179 it--;
1180 CHECK(it == j_const.begin());
1181 CHECK(it != j_const.end());
1182 CHECK(*it == j_const);
1184 ++it;
1185 CHECK(it != j_const.begin());
1186 CHECK(it == j_const.end());
1188 --it;
1189 CHECK(it == j_const.begin());
1190 CHECK(it != j_const.end());
1191 CHECK(*it == j_const);
1196 json::const_iterator it = j.cbegin(); variable
1197 CHECK(it != j.cend());
1198 CHECK(*it == j);
1200 it++;
1201 CHECK(it != j.cbegin());
1202 CHECK(it == j.cend());
1204 it--;
1205 CHECK(it == j.cbegin());
1206 CHECK(it != j.cend());
1207 CHECK(*it == j);
1209 ++it;
1210 CHECK(it != j.cbegin());
1211 CHECK(it == j.cend());
1213 --it;
1214 CHECK(it == j.cbegin());
1215 CHECK(it != j.cend());
1216 CHECK(*it == j);
1221 json::const_iterator it = j_const.cbegin(); variable
1222 CHECK(it != j_const.cend());
1223 CHECK(*it == j_const);
1225 it++;
1226 CHECK(it != j_const.cbegin());
1227 CHECK(it == j_const.cend());
1229 it--;
1230 CHECK(it == j_const.cbegin());
1231 CHECK(it != j_const.cend());
1232 CHECK(*it == j_const);
1234 ++it;
1235 CHECK(it != j_const.cbegin());
1236 CHECK(it == j_const.cend());
1238 --it;
1239 CHECK(it == j_const.cbegin());
1240 CHECK(it != j_const.cend());
1241 CHECK(*it == j_const);
1246 json::reverse_iterator it = j.rbegin(); variable
1247 CHECK(it != j.rend());
1248 CHECK(*it == j);
1250 it++;
1251 CHECK(it != j.rbegin());
1252 CHECK(it == j.rend());
1254 it--;
1255 CHECK(it == j.rbegin());
1256 CHECK(it != j.rend());
1257 CHECK(*it == j);
1259 ++it;
1260 CHECK(it != j.rbegin());
1261 CHECK(it == j.rend());
1263 --it;
1264 CHECK(it == j.rbegin());
1265 CHECK(it != j.rend());
1266 CHECK(*it == j);
1271 json::const_reverse_iterator it = j.crbegin(); variable
1272 CHECK(it != j.crend());
1273 CHECK(*it == j);
1275 it++;
1276 CHECK(it != j.crbegin());
1277 CHECK(it == j.crend());
1279 it--;
1280 CHECK(it == j.crbegin());
1281 CHECK(it != j.crend());
1282 CHECK(*it == j);
1284 ++it;
1285 CHECK(it != j.crbegin());
1286 CHECK(it == j.crend());
1288 --it;
1289 CHECK(it == j.crbegin());
1290 CHECK(it != j.crend());
1291 CHECK(*it == j);
1296 json::const_reverse_iterator it = j_const.crbegin(); variable
1297 CHECK(it != j_const.crend());
1298 CHECK(*it == j_const);
1300 it++;
1301 CHECK(it != j_const.crbegin());
1302 CHECK(it == j_const.crend());
1304 it--;
1305 CHECK(it == j_const.crbegin());
1306 CHECK(it != j_const.crend());
1307 CHECK(*it == j_const);
1309 ++it;
1310 CHECK(it != j_const.crbegin());
1311 CHECK(it == j_const.crend());
1313 --it;
1314 CHECK(it == j_const.crbegin());
1315 CHECK(it != j_const.crend());
1316 CHECK(*it == j_const);
1321 auto it = j.begin(); variable
1323 CHECK_THROWS_AS(it.key(), json::invalid_iterator&);
1324 …CHECK_THROWS_WITH(it.key(), "[json.exception.invalid_iterator.207] cannot use key() for non-object…
1325 CHECK(it.value() == json(23));
1350 json::iterator it = j.begin(); variable
1351 CHECK(it != j.end());
1352 CHECK(*it == j);
1354 it++;
1355 CHECK(it != j.begin());
1356 CHECK(it == j.end());
1358 it--;
1359 CHECK(it == j.begin());
1360 CHECK(it != j.end());
1361 CHECK(*it == j);
1363 ++it;
1364 CHECK(it != j.begin());
1365 CHECK(it == j.end());
1367 --it;
1368 CHECK(it == j.begin());
1369 CHECK(it != j.end());
1370 CHECK(*it == j);
1375 json::const_iterator it = j_const.begin(); variable
1376 CHECK(it != j_const.end());
1377 CHECK(*it == j_const);
1379 it++;
1380 CHECK(it != j_const.begin());
1381 CHECK(it == j_const.end());
1383 it--;
1384 CHECK(it == j_const.begin());
1385 CHECK(it != j_const.end());
1386 CHECK(*it == j_const);
1388 ++it;
1389 CHECK(it != j_const.begin());
1390 CHECK(it == j_const.end());
1392 --it;
1393 CHECK(it == j_const.begin());
1394 CHECK(it != j_const.end());
1395 CHECK(*it == j_const);
1400 json::const_iterator it = j.cbegin(); variable
1401 CHECK(it != j.cend());
1402 CHECK(*it == j);
1404 it++;
1405 CHECK(it != j.cbegin());
1406 CHECK(it == j.cend());
1408 it--;
1409 CHECK(it == j.cbegin());
1410 CHECK(it != j.cend());
1411 CHECK(*it == j);
1413 ++it;
1414 CHECK(it != j.cbegin());
1415 CHECK(it == j.cend());
1417 --it;
1418 CHECK(it == j.cbegin());
1419 CHECK(it != j.cend());
1420 CHECK(*it == j);
1425 json::const_iterator it = j_const.cbegin(); variable
1426 CHECK(it != j_const.cend());
1427 CHECK(*it == j_const);
1429 it++;
1430 CHECK(it != j_const.cbegin());
1431 CHECK(it == j_const.cend());
1433 it--;
1434 CHECK(it == j_const.cbegin());
1435 CHECK(it != j_const.cend());
1436 CHECK(*it == j_const);
1438 ++it;
1439 CHECK(it != j_const.cbegin());
1440 CHECK(it == j_const.cend());
1442 --it;
1443 CHECK(it == j_const.cbegin());
1444 CHECK(it != j_const.cend());
1445 CHECK(*it == j_const);
1450 json::reverse_iterator it = j.rbegin(); variable
1451 CHECK(it != j.rend());
1452 CHECK(*it == j);
1454 it++;
1455 CHECK(it != j.rbegin());
1456 CHECK(it == j.rend());
1458 it--;
1459 CHECK(it == j.rbegin());
1460 CHECK(it != j.rend());
1461 CHECK(*it == j);
1463 ++it;
1464 CHECK(it != j.rbegin());
1465 CHECK(it == j.rend());
1467 --it;
1468 CHECK(it == j.rbegin());
1469 CHECK(it != j.rend());
1470 CHECK(*it == j);
1475 json::const_reverse_iterator it = j.crbegin(); variable
1476 CHECK(it != j.crend());
1477 CHECK(*it == j);
1479 it++;
1480 CHECK(it != j.crbegin());
1481 CHECK(it == j.crend());
1483 it--;
1484 CHECK(it == j.crbegin());
1485 CHECK(it != j.crend());
1486 CHECK(*it == j);
1488 ++it;
1489 CHECK(it != j.crbegin());
1490 CHECK(it == j.crend());
1492 --it;
1493 CHECK(it == j.crbegin());
1494 CHECK(it != j.crend());
1495 CHECK(*it == j);
1500 json::const_reverse_iterator it = j_const.crbegin(); variable
1501 CHECK(it != j_const.crend());
1502 CHECK(*it == j_const);
1504 it++;
1505 CHECK(it != j_const.crbegin());
1506 CHECK(it == j_const.crend());
1508 it--;
1509 CHECK(it == j_const.crbegin());
1510 CHECK(it != j_const.crend());
1511 CHECK(*it == j_const);
1513 ++it;
1514 CHECK(it != j_const.crbegin());
1515 CHECK(it == j_const.crend());
1517 --it;
1518 CHECK(it == j_const.crbegin());
1519 CHECK(it != j_const.crend());
1520 CHECK(*it == j_const);
1525 auto it = j.begin(); variable
1527 CHECK_THROWS_AS(it.key(), json::invalid_iterator&);
1528 …CHECK_THROWS_WITH(it.key(), "[json.exception.invalid_iterator.207] cannot use key() for non-object…
1529 CHECK(it.value() == json(23.42));
1554 json::iterator it = j.begin(); variable
1555 CHECK(it == j.end());
1581 json::reverse_iterator it = j.rbegin(); variable
1582 CHECK(it == j.rend());
1587 json::const_reverse_iterator it = j.crbegin(); variable
1588 CHECK(it == j.crend());
1593 json::const_reverse_iterator it = j_const.crbegin(); variable
1594 CHECK(it == j_const.crend());
1599 auto it = j.begin(); variable
1601 CHECK_THROWS_AS(it.key(), json::invalid_iterator&);
1602 CHECK_THROWS_AS(it.value(), json::invalid_iterator&);
1605 …CHECK_THROWS_WITH(it.key(), "[json.exception.invalid_iterator.207] cannot use key() for non-object…
1606 … CHECK_THROWS_WITH(it.value(), "[json.exception.invalid_iterator.214] cannot get value");
1629 json::const_iterator it = j.begin(); variable
1630 CHECK(it == j.cbegin());
1631 it = j.begin();
1632 CHECK(it == j.cbegin());
1637 json::const_iterator it = j.begin(); variable
1638 CHECK(it == j.cbegin());
1639 it = j.begin();
1640 CHECK(it == j.cbegin());
1645 json::const_iterator it = j.begin(); variable
1646 CHECK(it == j.cbegin());
1647 it = j.begin();
1648 CHECK(it == j.cbegin());
1653 json::const_iterator it = j.begin(); variable
1654 CHECK(it == j.cbegin());
1655 it = j.begin();
1656 CHECK(it == j.cbegin());
1661 json::const_iterator it = j.begin(); variable
1662 CHECK(it == j.cbegin());
1663 it = j.begin();
1664 CHECK(it == j.cbegin());
1669 json::const_iterator it = j.begin(); variable
1670 CHECK(it == j.cbegin());
1671 it = j.begin();
1672 CHECK(it == j.cbegin());
1677 json::const_iterator it = j.begin(); variable
1678 CHECK(it == j.cbegin());
1679 it = j.begin();
1680 CHECK(it == j.cbegin());
1685 json::const_iterator it = j.begin(); variable
1686 CHECK(it == j.cbegin());
1687 it = j.begin();
1688 CHECK(it == j.cbegin());