mirror of
https://github.com/boostorg/filesystem.git
synced 2025-05-11 05:07:55 +00:00
This forces the non-templated overloads accepting path to be chosen instead of the templated members that expect arguments converible to Source. This resolves overload resolution ambiguities, when the argument of a user-defined type is convertible to path and multiple other types that qualify as Source. By preferring the conversion to path we avoid testing other conversion paths that may be ambiguous. Fixes https://github.com/boostorg/filesystem/issues/326.