Functions taking template parameters named
Source
shall not participate in overload resolution unless
Source denotes a type other than
path, and
either
- Source is a specialization of
basic_string or basic_string_view, or
- the qualified-id iterator_traits<decay_t<Source>>::value_type is valid and
denotes a possibly const encoded character type ([temp.deduct]).