Template:cpp/filesystem/path/param source constraints

in overload resolution only if and  are not the same type, and either:
 * is a specialization of std or std, or
 * is valid and denotes a possibly const-qualified encoding character type (,, , or ).