Change the name of path::relative to path::relative_to to distinguish it a bit from path::relative_path.

This commit is contained in:
Beman
2015-08-07 16:50:47 -04:00
parent 6da5f657fb
commit d5fb8323f8
3 changed files with 4 additions and 6 deletions

View File

@@ -405,9 +405,9 @@ namespace filesystem
}
return std::make_pair(it1, it2);
}
}
} // namespace detail
path path::relative(const path& base) const
path path::relative_to(const path& base) const
{
std::pair<path::iterator, path::iterator> mm
= detail::mismatch(begin(), end(), base.begin(), base.end());