Lines Matching refs:const_iterator
37 // X::iterator must be convertible to X::const_iterator
38 CHECK((std::is_convertible<json::iterator, json::const_iterator>::value));
40 // X::const_iterator must return iterator whose value_type is T
41 CHECK((std::is_same<json::const_iterator::value_type, json>::value));
42 // X::const_iterator must meet the forward iterator requirements
43 CHECK((std::is_base_of<std::forward_iterator_tag, typename std::iterator_traits<json::const_iterator>::iterator_category>::value));
49 // X::difference_type must be identical to X::const_iterator::difference_type
50 CHECK((std::is_same<json::difference_type, json::const_iterator::difference_type>::value));
112 CHECK(std::is_nothrow_copy_constructible<json::const_iterator>::value);
120 CHECK(std::is_nothrow_copy_assignable<json::const_iterator>::value);
127 CHECK(std::is_nothrow_destructible<json::const_iterator>::value);
142 json::const_iterator it1 = j.cbegin();
143 json::const_iterator it2 = j.cend();