[fs.path.compare] (original) (raw)

31 Input/output library [input.output]

31.12 File systems [filesystems]

31.12.6 Class path [fs.class.path]

31.12.6.5 Members [fs.path.member]

31.12.6.5.8 Compare [fs.path.compare]

int compare(const path& p) const noexcept;

Returns:

int compare(const string_type& s) const;int compare(basic_string_view<value_type> s) const;int compare(const value_type* s) const;

Effects: Equivalent to: return compare(path(s));