Home | History | Annotate | Download | only in rec.dir.itr.members

Lines Matching refs:it

42     recursive_directory_iterator it(std::move(endIt2));
43 TEST_CHECK(it == endIt);
52 // build 'it' up with "interesting" non-default state so we can test
53 // that it gets copied. We want to get 'it' into a state such that:
54 // it.options() != directory_options::none
55 // it.depth() != 0
56 // it.recursion_pending() != true
58 recursive_directory_iterator it(testDir, opts);
59 TEST_REQUIRE(it != endIt);
60 while (it.depth() == 0) {
61 ++it;
62 TEST_REQUIRE(it != endIt);
64 it.disable_recursion_pending();
65 TEST_CHECK(it.options() == opts);
66 TEST_CHECK(it.depth() == 1);
67 TEST_CHECK(it.recursion_pending() == false);
68 const path entry = *it;
71 const recursive_directory_iterator it2(std::move(it));