| 616 | } |
| 617 | |
| 618 | BOOST_FILESYSTEM_DECL int path_algorithms::lex_compare_v4 |
| 619 | ( |
| 620 | path_detail::path_iterator first1, path_detail::path_iterator const& last1, |
| 621 | path_detail::path_iterator first2, path_detail::path_iterator const& last2 |
| 622 | ) |
| 623 | { |
| 624 | for (; first1 != last1 && first2 != last2;) |
| 625 | { |
| 626 | if (first1->native() < first2->native()) |
| 627 | return -1; |
| 628 | if (first2->native() < first1->native()) |
| 629 | return 1; |
| 630 | BOOST_ASSERT(first2->native() == first1->native()); |
| 631 | path_algorithms::increment_v4(first1); |
| 632 | path_algorithms::increment_v4(first2); |
| 633 | } |
| 634 | if (first1 == last1 && first2 == last2) |
| 635 | return 0; |
| 636 | return first1 == last1 ? -1 : 1; |
| 637 | } |
| 638 | |
| 639 | BOOST_FILESYSTEM_DECL int path_algorithms::compare_v3(path const& left, path const& right) |
| 640 | { |
nothing calls this directly
no outgoing calls
no test coverage detected