Lines Matching refs:it

43             json::iterator it;  variable
44 CHECK(it.m_object == nullptr);
57 json::iterator it = j.begin(); variable
58 CHECK(it != j.end());
59 CHECK(*it == j);
61 it++;
62 CHECK(it != j.begin());
63 CHECK(it == j.end());
65 it--;
66 CHECK(it == j.begin());
67 CHECK(it != j.end());
68 CHECK(*it == j);
70 ++it;
71 CHECK(it != j.begin());
72 CHECK(it == j.end());
74 --it;
75 CHECK(it == j.begin());
76 CHECK(it != j.end());
77 CHECK(*it == j);
82 json::const_iterator it = j_const.begin(); variable
83 CHECK(it != j_const.end());
84 CHECK(*it == j_const);
86 it++;
87 CHECK(it != j_const.begin());
88 CHECK(it == j_const.end());
90 it--;
91 CHECK(it == j_const.begin());
92 CHECK(it != j_const.end());
93 CHECK(*it == j_const);
95 ++it;
96 CHECK(it != j_const.begin());
97 CHECK(it == j_const.end());
99 --it;
100 CHECK(it == j_const.begin());
101 CHECK(it != j_const.end());
102 CHECK(*it == j_const);
107 json::const_iterator it = j.cbegin(); variable
108 CHECK(it != j.cend());
109 CHECK(*it == j);
111 it++;
112 CHECK(it != j.cbegin());
113 CHECK(it == j.cend());
115 it--;
116 CHECK(it == j.cbegin());
117 CHECK(it != j.cend());
118 CHECK(*it == j);
120 ++it;
121 CHECK(it != j.cbegin());
122 CHECK(it == j.cend());
124 --it;
125 CHECK(it == j.cbegin());
126 CHECK(it != j.cend());
127 CHECK(*it == j);
132 json::const_iterator it = j_const.cbegin(); variable
133 CHECK(it != j_const.cend());
134 CHECK(*it == j_const);
136 it++;
137 CHECK(it != j_const.cbegin());
138 CHECK(it == j_const.cend());
140 it--;
141 CHECK(it == j_const.cbegin());
142 CHECK(it != j_const.cend());
143 CHECK(*it == j_const);
145 ++it;
146 CHECK(it != j_const.cbegin());
147 CHECK(it == j_const.cend());
149 --it;
150 CHECK(it == j_const.cbegin());
151 CHECK(it != j_const.cend());
152 CHECK(*it == j_const);
157 json::reverse_iterator it = j.rbegin(); variable
158 CHECK(it != j.rend());
159 CHECK(*it == j);
161 it++;
162 CHECK(it != j.rbegin());
163 CHECK(it == j.rend());
165 it--;
166 CHECK(it == j.rbegin());
167 CHECK(it != j.rend());
168 CHECK(*it == j);
170 ++it;
171 CHECK(it != j.rbegin());
172 CHECK(it == j.rend());
174 --it;
175 CHECK(it == j.rbegin());
176 CHECK(it != j.rend());
177 CHECK(*it == j);
182 json::const_reverse_iterator it = j.crbegin(); variable
183 CHECK(it != j.crend());
184 CHECK(*it == j);
186 it++;
187 CHECK(it != j.crbegin());
188 CHECK(it == j.crend());
190 it--;
191 CHECK(it == j.crbegin());
192 CHECK(it != j.crend());
193 CHECK(*it == j);
195 ++it;
196 CHECK(it != j.crbegin());
197 CHECK(it == j.crend());
199 --it;
200 CHECK(it == j.crbegin());
201 CHECK(it != j.crend());
202 CHECK(*it == j);
207 json::const_reverse_iterator it = j_const.crbegin(); variable
208 CHECK(it != j_const.crend());
209 CHECK(*it == j_const);
211 it++;
212 CHECK(it != j_const.crbegin());
213 CHECK(it == j_const.crend());
215 it--;
216 CHECK(it == j_const.crbegin());
217 CHECK(it != j_const.crend());
218 CHECK(*it == j_const);
220 ++it;
221 CHECK(it != j_const.crbegin());
222 CHECK(it == j_const.crend());
224 --it;
225 CHECK(it == j_const.crbegin());
226 CHECK(it != j_const.crend());
227 CHECK(*it == j_const);
340 auto it = j.begin(); variable
342 CHECK_THROWS_AS(it.key(), json::invalid_iterator&);
343 …CHECK_THROWS_WITH(it.key(), "[json.exception.invalid_iterator.207] cannot use key() for non-object…
344 CHECK(it.value() == json(true));
369 json::iterator it = j.begin(); variable
370 CHECK(it != j.end());
371 CHECK(*it == j);
373 it++;
374 CHECK(it != j.begin());
375 CHECK(it == j.end());
377 it--;
378 CHECK(it == j.begin());
379 CHECK(it != j.end());
380 CHECK(*it == j);
382 ++it;
383 CHECK(it != j.begin());
384 CHECK(it == j.end());
386 --it;
387 CHECK(it == j.begin());
388 CHECK(it != j.end());
389 CHECK(*it == j);
394 json::const_iterator it = j_const.begin(); variable
395 CHECK(it != j_const.end());
396 CHECK(*it == j_const);
398 it++;
399 CHECK(it != j_const.begin());
400 CHECK(it == j_const.end());
402 it--;
403 CHECK(it == j_const.begin());
404 CHECK(it != j_const.end());
405 CHECK(*it == j_const);
407 ++it;
408 CHECK(it != j_const.begin());
409 CHECK(it == j_const.end());
411 --it;
412 CHECK(it == j_const.begin());
413 CHECK(it != j_const.end());
414 CHECK(*it == j_const);
419 json::const_iterator it = j.cbegin(); variable
420 CHECK(it != j.cend());
421 CHECK(*it == j);
423 it++;
424 CHECK(it != j.cbegin());
425 CHECK(it == j.cend());
427 it--;
428 CHECK(it == j.cbegin());
429 CHECK(it != j.cend());
430 CHECK(*it == j);
432 ++it;
433 CHECK(it != j.cbegin());
434 CHECK(it == j.cend());
436 --it;
437 CHECK(it == j.cbegin());
438 CHECK(it != j.cend());
439 CHECK(*it == j);
444 json::const_iterator it = j_const.cbegin(); variable
445 CHECK(it != j_const.cend());
446 CHECK(*it == j_const);
448 it++;
449 CHECK(it != j_const.cbegin());
450 CHECK(it == j_const.cend());
452 it--;
453 CHECK(it == j_const.cbegin());
454 CHECK(it != j_const.cend());
455 CHECK(*it == j_const);
457 ++it;
458 CHECK(it != j_const.cbegin());
459 CHECK(it == j_const.cend());
461 --it;
462 CHECK(it == j_const.cbegin());
463 CHECK(it != j_const.cend());
464 CHECK(*it == j_const);
469 json::reverse_iterator it = j.rbegin(); variable
470 CHECK(it != j.rend());
471 CHECK(*it == j);
473 it++;
474 CHECK(it != j.rbegin());
475 CHECK(it == j.rend());
477 it--;
478 CHECK(it == j.rbegin());
479 CHECK(it != j.rend());
480 CHECK(*it == j);
482 ++it;
483 CHECK(it != j.rbegin());
484 CHECK(it == j.rend());
486 --it;
487 CHECK(it == j.rbegin());
488 CHECK(it != j.rend());
489 CHECK(*it == j);
494 json::const_reverse_iterator it = j.crbegin(); variable
495 CHECK(it != j.crend());
496 CHECK(*it == j);
498 it++;
499 CHECK(it != j.crbegin());
500 CHECK(it == j.crend());
502 it--;
503 CHECK(it == j.crbegin());
504 CHECK(it != j.crend());
505 CHECK(*it == j);
507 ++it;
508 CHECK(it != j.crbegin());
509 CHECK(it == j.crend());
511 --it;
512 CHECK(it == j.crbegin());
513 CHECK(it != j.crend());
514 CHECK(*it == j);
519 json::const_reverse_iterator it = j_const.crbegin(); variable
520 CHECK(it != j_const.crend());
521 CHECK(*it == j_const);
523 it++;
524 CHECK(it != j_const.crbegin());
525 CHECK(it == j_const.crend());
527 it--;
528 CHECK(it == j_const.crbegin());
529 CHECK(it != j_const.crend());
530 CHECK(*it == j_const);
532 ++it;
533 CHECK(it != j_const.crbegin());
534 CHECK(it == j_const.crend());
536 --it;
537 CHECK(it == j_const.crbegin());
538 CHECK(it != j_const.crend());
539 CHECK(*it == j_const);
544 auto it = j.begin(); variable
546 CHECK_THROWS_AS(it.key(), json::invalid_iterator&);
547 …CHECK_THROWS_WITH(it.key(), "[json.exception.invalid_iterator.207] cannot use key() for non-object…
548 CHECK(it.value() == json("hello world"));
576 auto it = it_begin; variable
577 CHECK(it != it_end);
578 CHECK(*it == j[0]);
580 it++;
581 CHECK(it != it_begin);
582 CHECK(it != it_end);
583 CHECK(*it == j[1]);
585 ++it;
586 CHECK(it != it_begin);
587 CHECK(it != it_end);
588 CHECK(*it == j[2]);
590 ++it;
591 CHECK(it != it_begin);
592 CHECK(it == it_end);
600 auto it = it_begin; variable
601 CHECK(it != it_end);
602 CHECK(*it == j_const[0]);
604 it++;
605 CHECK(it != it_begin);
606 CHECK(it != it_end);
607 CHECK(*it == j_const[1]);
609 ++it;
610 CHECK(it != it_begin);
611 CHECK(it != it_end);
612 CHECK(*it == j_const[2]);
614 ++it;
615 CHECK(it != it_begin);
616 CHECK(it == it_end);
624 auto it = it_begin; variable
625 CHECK(it != it_end);
626 CHECK(*it == j[0]);
628 it++;
629 CHECK(it != it_begin);
630 CHECK(it != it_end);
631 CHECK(*it == j[1]);
633 ++it;
634 CHECK(it != it_begin);
635 CHECK(it != it_end);
636 CHECK(*it == j[2]);
638 ++it;
639 CHECK(it != it_begin);
640 CHECK(it == it_end);
648 auto it = it_begin; variable
649 CHECK(it != it_end);
650 CHECK(*it == j[0]);
652 it++;
653 CHECK(it != it_begin);
654 CHECK(it != it_end);
655 CHECK(*it == j[1]);
657 ++it;
658 CHECK(it != it_begin);
659 CHECK(it != it_end);
660 CHECK(*it == j[2]);
662 ++it;
663 CHECK(it != it_begin);
664 CHECK(it == it_end);
672 auto it = it_begin; variable
673 CHECK(it != it_end);
674 CHECK(*it == j[2]);
676 it++;
677 CHECK(it != it_begin);
678 CHECK(it != it_end);
679 CHECK(*it == j[1]);
681 ++it;
682 CHECK(it != it_begin);
683 CHECK(it != it_end);
684 CHECK(*it == j[0]);
686 ++it;
687 CHECK(it != it_begin);
688 CHECK(it == it_end);
696 auto it = it_begin; variable
697 CHECK(it != it_end);
698 CHECK(*it == j[2]);
700 it++;
701 CHECK(it != it_begin);
702 CHECK(it != it_end);
703 CHECK(*it == j[1]);
705 ++it;
706 CHECK(it != it_begin);
707 CHECK(it != it_end);
708 CHECK(*it == j[0]);
710 ++it;
711 CHECK(it != it_begin);
712 CHECK(it == it_end);
720 auto it = it_begin; variable
721 CHECK(it != it_end);
722 CHECK(*it == j[2]);
724 it++;
725 CHECK(it != it_begin);
726 CHECK(it != it_end);
727 CHECK(*it == j[1]);
729 ++it;
730 CHECK(it != it_begin);
731 CHECK(it != it_end);
732 CHECK(*it == j[0]);
734 ++it;
735 CHECK(it != it_begin);
736 CHECK(it == it_end);
741 auto it = j.begin(); variable
743 CHECK_THROWS_AS(it.key(), json::invalid_iterator&);
744 …CHECK_THROWS_WITH(it.key(), "[json.exception.invalid_iterator.207] cannot use key() for non-object…
745 CHECK(it.value() == json(1));
762 auto it = it_begin; variable
763 CHECK(it != it_end);
764 CHECK(*it == j["A"]);
766 it++;
767 CHECK(it != it_begin);
768 CHECK(it != it_end);
769 CHECK(*it == j["B"]);
771 ++it;
772 CHECK(it != it_begin);
773 CHECK(it != it_end);
774 CHECK(*it == j["C"]);
776 ++it;
777 CHECK(it != it_begin);
778 CHECK(it == it_end);
786 auto it = it_begin; variable
787 CHECK(it != it_end);
788 CHECK(*it == j_const["A"]);
790 it++;
791 CHECK(it != it_begin);
792 CHECK(it != it_end);
793 CHECK(*it == j_const["B"]);
795 ++it;
796 CHECK(it != it_begin);
797 CHECK(it != it_end);
798 CHECK(*it == j_const["C"]);
800 ++it;
801 CHECK(it != it_begin);
802 CHECK(it == it_end);
810 auto it = it_begin; variable
811 CHECK(it != it_end);
812 CHECK(*it == j["A"]);
814 it++;
815 CHECK(it != it_begin);
816 CHECK(it != it_end);
817 CHECK(*it == j["B"]);
819 ++it;
820 CHECK(it != it_begin);
821 CHECK(it != it_end);
822 CHECK(*it == j["C"]);
824 ++it;
825 CHECK(it != it_begin);
826 CHECK(it == it_end);
834 auto it = it_begin; variable
835 CHECK(it != it_end);
836 CHECK(*it == j_const["A"]);
838 it++;
839 CHECK(it != it_begin);
840 CHECK(it != it_end);
841 CHECK(*it == j_const["B"]);
843 ++it;
844 CHECK(it != it_begin);
845 CHECK(it != it_end);
846 CHECK(*it == j_const["C"]);
848 ++it;
849 CHECK(it != it_begin);
850 CHECK(it == it_end);
858 auto it = it_begin; variable
859 CHECK(it != it_end);
860 CHECK(*it == j["C"]);
862 it++;
863 CHECK(it != it_begin);
864 CHECK(it != it_end);
865 CHECK(*it == j["B"]);
867 ++it;
868 CHECK(it != it_begin);
869 CHECK(it != it_end);
870 CHECK(*it == j["A"]);
872 ++it;
873 CHECK(it != it_begin);
874 CHECK(it == it_end);
882 auto it = it_begin; variable
883 CHECK(it != it_end);
884 CHECK(*it == j["C"]);
886 it++;
887 CHECK(it != it_begin);
888 CHECK(it != it_end);
889 CHECK(*it == j["B"]);
891 ++it;
892 CHECK(it != it_begin);
893 CHECK(it != it_end);
894 CHECK(*it == j["A"]);
896 ++it;
897 CHECK(it != it_begin);
898 CHECK(it == it_end);
906 auto it = it_begin; variable
907 CHECK(it != it_end);
908 CHECK(*it == j["C"]);
910 it++;
911 CHECK(it != it_begin);
912 CHECK(it != it_end);
913 CHECK(*it == j["B"]);
915 ++it;
916 CHECK(it != it_begin);
917 CHECK(it != it_end);
918 CHECK(*it == j["A"]);
920 ++it;
921 CHECK(it != it_begin);
922 CHECK(it == it_end);
927 auto it = j.begin(); variable
929 CHECK(it.key() == "A");
930 CHECK(it.value() == json(1));
943 json::iterator it = j.begin(); variable
944 CHECK(it != j.end());
945 CHECK(*it == j);
947 it++;
948 CHECK(it != j.begin());
949 CHECK(it == j.end());
951 it--;
952 CHECK(it == j.begin());
953 CHECK(it != j.end());
954 CHECK(*it == j);
956 ++it;
957 CHECK(it != j.begin());
958 CHECK(it == j.end());
960 --it;
961 CHECK(it == j.begin());
962 CHECK(it != j.end());
963 CHECK(*it == j);
968 json::const_iterator it = j_const.begin(); variable
969 CHECK(it != j_const.end());
970 CHECK(*it == j_const);
972 it++;
973 CHECK(it != j_const.begin());
974 CHECK(it == j_const.end());
976 it--;
977 CHECK(it == j_const.begin());
978 CHECK(it != j_const.end());
979 CHECK(*it == j_const);
981 ++it;
982 CHECK(it != j_const.begin());
983 CHECK(it == j_const.end());
985 --it;
986 CHECK(it == j_const.begin());
987 CHECK(it != j_const.end());
988 CHECK(*it == j_const);
993 json::const_iterator it = j.cbegin(); variable
994 CHECK(it != j.cend());
995 CHECK(*it == j);
997 it++;
998 CHECK(it != j.cbegin());
999 CHECK(it == j.cend());
1001 it--;
1002 CHECK(it == j.cbegin());
1003 CHECK(it != j.cend());
1004 CHECK(*it == j);
1006 ++it;
1007 CHECK(it != j.cbegin());
1008 CHECK(it == j.cend());
1010 --it;
1011 CHECK(it == j.cbegin());
1012 CHECK(it != j.cend());
1013 CHECK(*it == j);
1018 json::const_iterator it = j_const.cbegin(); variable
1019 CHECK(it != j_const.cend());
1020 CHECK(*it == j_const);
1022 it++;
1023 CHECK(it != j_const.cbegin());
1024 CHECK(it == j_const.cend());
1026 it--;
1027 CHECK(it == j_const.cbegin());
1028 CHECK(it != j_const.cend());
1029 CHECK(*it == j_const);
1031 ++it;
1032 CHECK(it != j_const.cbegin());
1033 CHECK(it == j_const.cend());
1035 --it;
1036 CHECK(it == j_const.cbegin());
1037 CHECK(it != j_const.cend());
1038 CHECK(*it == j_const);
1043 json::reverse_iterator it = j.rbegin(); variable
1044 CHECK(it != j.rend());
1045 CHECK(*it == j);
1047 it++;
1048 CHECK(it != j.rbegin());
1049 CHECK(it == j.rend());
1051 it--;
1052 CHECK(it == j.rbegin());
1053 CHECK(it != j.rend());
1054 CHECK(*it == j);
1056 ++it;
1057 CHECK(it != j.rbegin());
1058 CHECK(it == j.rend());
1060 --it;
1061 CHECK(it == j.rbegin());
1062 CHECK(it != j.rend());
1063 CHECK(*it == j);
1068 json::const_reverse_iterator it = j.crbegin(); variable
1069 CHECK(it != j.crend());
1070 CHECK(*it == j);
1072 it++;
1073 CHECK(it != j.crbegin());
1074 CHECK(it == j.crend());
1076 it--;
1077 CHECK(it == j.crbegin());
1078 CHECK(it != j.crend());
1079 CHECK(*it == j);
1081 ++it;
1082 CHECK(it != j.crbegin());
1083 CHECK(it == j.crend());
1085 --it;
1086 CHECK(it == j.crbegin());
1087 CHECK(it != j.crend());
1088 CHECK(*it == j);
1093 json::const_reverse_iterator it = j_const.crbegin(); variable
1094 CHECK(it != j_const.crend());
1095 CHECK(*it == j_const);
1097 it++;
1098 CHECK(it != j_const.crbegin());
1099 CHECK(it == j_const.crend());
1101 it--;
1102 CHECK(it == j_const.crbegin());
1103 CHECK(it != j_const.crend());
1104 CHECK(*it == j_const);
1106 ++it;
1107 CHECK(it != j_const.crbegin());
1108 CHECK(it == j_const.crend());
1110 --it;
1111 CHECK(it == j_const.crbegin());
1112 CHECK(it != j_const.crend());
1113 CHECK(*it == j_const);
1118 auto it = j.begin(); variable
1120 CHECK_THROWS_AS(it.key(), json::invalid_iterator&);
1121 …CHECK_THROWS_WITH(it.key(), "[json.exception.invalid_iterator.207] cannot use key() for non-object…
1122 CHECK(it.value() == json(23));
1147 json::iterator it = j.begin(); variable
1148 CHECK(it != j.end());
1149 CHECK(*it == j);
1151 it++;
1152 CHECK(it != j.begin());
1153 CHECK(it == j.end());
1155 it--;
1156 CHECK(it == j.begin());
1157 CHECK(it != j.end());
1158 CHECK(*it == j);
1160 ++it;
1161 CHECK(it != j.begin());
1162 CHECK(it == j.end());
1164 --it;
1165 CHECK(it == j.begin());
1166 CHECK(it != j.end());
1167 CHECK(*it == j);
1172 json::const_iterator it = j_const.begin(); variable
1173 CHECK(it != j_const.end());
1174 CHECK(*it == j_const);
1176 it++;
1177 CHECK(it != j_const.begin());
1178 CHECK(it == j_const.end());
1180 it--;
1181 CHECK(it == j_const.begin());
1182 CHECK(it != j_const.end());
1183 CHECK(*it == j_const);
1185 ++it;
1186 CHECK(it != j_const.begin());
1187 CHECK(it == j_const.end());
1189 --it;
1190 CHECK(it == j_const.begin());
1191 CHECK(it != j_const.end());
1192 CHECK(*it == j_const);
1197 json::const_iterator it = j.cbegin(); variable
1198 CHECK(it != j.cend());
1199 CHECK(*it == j);
1201 it++;
1202 CHECK(it != j.cbegin());
1203 CHECK(it == j.cend());
1205 it--;
1206 CHECK(it == j.cbegin());
1207 CHECK(it != j.cend());
1208 CHECK(*it == j);
1210 ++it;
1211 CHECK(it != j.cbegin());
1212 CHECK(it == j.cend());
1214 --it;
1215 CHECK(it == j.cbegin());
1216 CHECK(it != j.cend());
1217 CHECK(*it == j);
1222 json::const_iterator it = j_const.cbegin(); variable
1223 CHECK(it != j_const.cend());
1224 CHECK(*it == j_const);
1226 it++;
1227 CHECK(it != j_const.cbegin());
1228 CHECK(it == j_const.cend());
1230 it--;
1231 CHECK(it == j_const.cbegin());
1232 CHECK(it != j_const.cend());
1233 CHECK(*it == j_const);
1235 ++it;
1236 CHECK(it != j_const.cbegin());
1237 CHECK(it == j_const.cend());
1239 --it;
1240 CHECK(it == j_const.cbegin());
1241 CHECK(it != j_const.cend());
1242 CHECK(*it == j_const);
1247 json::reverse_iterator it = j.rbegin(); variable
1248 CHECK(it != j.rend());
1249 CHECK(*it == j);
1251 it++;
1252 CHECK(it != j.rbegin());
1253 CHECK(it == j.rend());
1255 it--;
1256 CHECK(it == j.rbegin());
1257 CHECK(it != j.rend());
1258 CHECK(*it == j);
1260 ++it;
1261 CHECK(it != j.rbegin());
1262 CHECK(it == j.rend());
1264 --it;
1265 CHECK(it == j.rbegin());
1266 CHECK(it != j.rend());
1267 CHECK(*it == j);
1272 json::const_reverse_iterator it = j.crbegin(); variable
1273 CHECK(it != j.crend());
1274 CHECK(*it == j);
1276 it++;
1277 CHECK(it != j.crbegin());
1278 CHECK(it == j.crend());
1280 it--;
1281 CHECK(it == j.crbegin());
1282 CHECK(it != j.crend());
1283 CHECK(*it == j);
1285 ++it;
1286 CHECK(it != j.crbegin());
1287 CHECK(it == j.crend());
1289 --it;
1290 CHECK(it == j.crbegin());
1291 CHECK(it != j.crend());
1292 CHECK(*it == j);
1297 json::const_reverse_iterator it = j_const.crbegin(); variable
1298 CHECK(it != j_const.crend());
1299 CHECK(*it == j_const);
1301 it++;
1302 CHECK(it != j_const.crbegin());
1303 CHECK(it == j_const.crend());
1305 it--;
1306 CHECK(it == j_const.crbegin());
1307 CHECK(it != j_const.crend());
1308 CHECK(*it == j_const);
1310 ++it;
1311 CHECK(it != j_const.crbegin());
1312 CHECK(it == j_const.crend());
1314 --it;
1315 CHECK(it == j_const.crbegin());
1316 CHECK(it != j_const.crend());
1317 CHECK(*it == j_const);
1322 auto it = j.begin(); variable
1324 CHECK_THROWS_AS(it.key(), json::invalid_iterator&);
1325 …CHECK_THROWS_WITH(it.key(), "[json.exception.invalid_iterator.207] cannot use key() for non-object…
1326 CHECK(it.value() == json(23));
1351 json::iterator it = j.begin(); variable
1352 CHECK(it != j.end());
1353 CHECK(*it == j);
1355 it++;
1356 CHECK(it != j.begin());
1357 CHECK(it == j.end());
1359 it--;
1360 CHECK(it == j.begin());
1361 CHECK(it != j.end());
1362 CHECK(*it == j);
1364 ++it;
1365 CHECK(it != j.begin());
1366 CHECK(it == j.end());
1368 --it;
1369 CHECK(it == j.begin());
1370 CHECK(it != j.end());
1371 CHECK(*it == j);
1376 json::const_iterator it = j_const.begin(); variable
1377 CHECK(it != j_const.end());
1378 CHECK(*it == j_const);
1380 it++;
1381 CHECK(it != j_const.begin());
1382 CHECK(it == j_const.end());
1384 it--;
1385 CHECK(it == j_const.begin());
1386 CHECK(it != j_const.end());
1387 CHECK(*it == j_const);
1389 ++it;
1390 CHECK(it != j_const.begin());
1391 CHECK(it == j_const.end());
1393 --it;
1394 CHECK(it == j_const.begin());
1395 CHECK(it != j_const.end());
1396 CHECK(*it == j_const);
1401 json::const_iterator it = j.cbegin(); variable
1402 CHECK(it != j.cend());
1403 CHECK(*it == j);
1405 it++;
1406 CHECK(it != j.cbegin());
1407 CHECK(it == j.cend());
1409 it--;
1410 CHECK(it == j.cbegin());
1411 CHECK(it != j.cend());
1412 CHECK(*it == j);
1414 ++it;
1415 CHECK(it != j.cbegin());
1416 CHECK(it == j.cend());
1418 --it;
1419 CHECK(it == j.cbegin());
1420 CHECK(it != j.cend());
1421 CHECK(*it == j);
1426 json::const_iterator it = j_const.cbegin(); variable
1427 CHECK(it != j_const.cend());
1428 CHECK(*it == j_const);
1430 it++;
1431 CHECK(it != j_const.cbegin());
1432 CHECK(it == j_const.cend());
1434 it--;
1435 CHECK(it == j_const.cbegin());
1436 CHECK(it != j_const.cend());
1437 CHECK(*it == j_const);
1439 ++it;
1440 CHECK(it != j_const.cbegin());
1441 CHECK(it == j_const.cend());
1443 --it;
1444 CHECK(it == j_const.cbegin());
1445 CHECK(it != j_const.cend());
1446 CHECK(*it == j_const);
1451 json::reverse_iterator it = j.rbegin(); variable
1452 CHECK(it != j.rend());
1453 CHECK(*it == j);
1455 it++;
1456 CHECK(it != j.rbegin());
1457 CHECK(it == j.rend());
1459 it--;
1460 CHECK(it == j.rbegin());
1461 CHECK(it != j.rend());
1462 CHECK(*it == j);
1464 ++it;
1465 CHECK(it != j.rbegin());
1466 CHECK(it == j.rend());
1468 --it;
1469 CHECK(it == j.rbegin());
1470 CHECK(it != j.rend());
1471 CHECK(*it == j);
1476 json::const_reverse_iterator it = j.crbegin(); variable
1477 CHECK(it != j.crend());
1478 CHECK(*it == j);
1480 it++;
1481 CHECK(it != j.crbegin());
1482 CHECK(it == j.crend());
1484 it--;
1485 CHECK(it == j.crbegin());
1486 CHECK(it != j.crend());
1487 CHECK(*it == j);
1489 ++it;
1490 CHECK(it != j.crbegin());
1491 CHECK(it == j.crend());
1493 --it;
1494 CHECK(it == j.crbegin());
1495 CHECK(it != j.crend());
1496 CHECK(*it == j);
1501 json::const_reverse_iterator it = j_const.crbegin(); variable
1502 CHECK(it != j_const.crend());
1503 CHECK(*it == j_const);
1505 it++;
1506 CHECK(it != j_const.crbegin());
1507 CHECK(it == j_const.crend());
1509 it--;
1510 CHECK(it == j_const.crbegin());
1511 CHECK(it != j_const.crend());
1512 CHECK(*it == j_const);
1514 ++it;
1515 CHECK(it != j_const.crbegin());
1516 CHECK(it == j_const.crend());
1518 --it;
1519 CHECK(it == j_const.crbegin());
1520 CHECK(it != j_const.crend());
1521 CHECK(*it == j_const);
1526 auto it = j.begin(); variable
1528 CHECK_THROWS_AS(it.key(), json::invalid_iterator&);
1529 …CHECK_THROWS_WITH(it.key(), "[json.exception.invalid_iterator.207] cannot use key() for non-object…
1530 CHECK(it.value() == json(23.42));
1555 json::iterator it = j.begin(); variable
1556 CHECK(it == j.end());
1582 json::reverse_iterator it = j.rbegin(); variable
1583 CHECK(it == j.rend());
1588 json::const_reverse_iterator it = j.crbegin(); variable
1589 CHECK(it == j.crend());
1594 json::const_reverse_iterator it = j_const.crbegin(); variable
1595 CHECK(it == j_const.crend());
1600 auto it = j.begin(); variable
1602 CHECK_THROWS_AS(it.key(), json::invalid_iterator&);
1603 CHECK_THROWS_AS(it.value(), json::invalid_iterator&);
1606 …CHECK_THROWS_WITH(it.key(), "[json.exception.invalid_iterator.207] cannot use key() for non-object…
1607 … CHECK_THROWS_WITH(it.value(), "[json.exception.invalid_iterator.214] cannot get value");
1630 json::const_iterator it = j.begin(); variable
1631 CHECK(it == j.cbegin());
1632 it = j.begin();
1633 CHECK(it == j.cbegin());
1638 json::const_iterator it = j.begin(); variable
1639 CHECK(it == j.cbegin());
1640 it = j.begin();
1641 CHECK(it == j.cbegin());
1646 json::const_iterator it = j.begin(); variable
1647 CHECK(it == j.cbegin());
1648 it = j.begin();
1649 CHECK(it == j.cbegin());
1654 json::const_iterator it = j.begin(); variable
1655 CHECK(it == j.cbegin());
1656 it = j.begin();
1657 CHECK(it == j.cbegin());
1662 json::const_iterator it = j.begin(); variable
1663 CHECK(it == j.cbegin());
1664 it = j.begin();
1665 CHECK(it == j.cbegin());
1670 json::const_iterator it = j.begin(); variable
1671 CHECK(it == j.cbegin());
1672 it = j.begin();
1673 CHECK(it == j.cbegin());
1678 json::const_iterator it = j.begin(); variable
1679 CHECK(it == j.cbegin());
1680 it = j.begin();
1681 CHECK(it == j.cbegin());
1686 json::const_iterator it = j.begin(); variable
1687 CHECK(it == j.cbegin());
1688 it = j.begin();
1689 CHECK(it == j.cbegin());