| 2627 | } |
| 2628 | |
| 2629 | void |
| 2630 | testFindFirstOf() |
| 2631 | { |
| 2632 | test_vectors const t; |
| 2633 | string const s1 = t.v1; |
| 2634 | |
| 2635 | // find_first_of(string_view, size_type) |
| 2636 | BOOST_TEST(s1.find_first_of("bcd") == 1); |
| 2637 | BOOST_TEST(s1.find_first_of("cde") == 2); |
| 2638 | |
| 2639 | BOOST_TEST(s1.find_first_of("bcd", 0) == 1); |
| 2640 | BOOST_TEST(s1.find_first_of("cde", 1) == 2); |
| 2641 | BOOST_TEST(s1.find_first_of("efg", 7) == string::npos); |
| 2642 | } |
| 2643 | |
| 2644 | void |
| 2645 | testFindFirstNotOf() |
nothing calls this directly
no test coverage detected