|
13707 | 13707 | class Allocator = allocator<EcharT>>
|
13708 | 13708 | basic_string<EcharT, traits, Allocator>
|
13709 | 13709 | string(const Allocator& a = Allocator()) const;
|
13710 |
| - std::string string() const; |
| 13710 | + std::string display_string() const; |
| 13711 | + std::string system_encoded_string() const; |
13711 | 13712 | std::wstring wstring() const;
|
13712 | 13713 | std::u8string u8string() const;
|
13713 | 13714 | std::u16string u16string() const;
|
|
13718 | 13719 | class Allocator = allocator<EcharT>>
|
13719 | 13720 | basic_string<EcharT, traits, Allocator>
|
13720 | 13721 | generic_string(const Allocator& a = Allocator()) const;
|
13721 |
| - std::string generic_string() const; |
| 13722 | + std::string generic_display_string() const; |
| 13723 | + std::string generic_system_encoded_string() const; |
13722 | 13724 | std::wstring generic_wstring() const;
|
13723 | 13725 | std::u8string generic_u8string() const;
|
13724 | 13726 | std::u16string generic_u16string() const;
|
@@ -14689,13 +14691,13 @@
|
14689 | 14691 | \ref{fs.path.cvt}.
|
14690 | 14692 | \end{itemdescr}
|
14691 | 14693 |
|
14692 |
| -\indexlibrarymember{string}{path}% |
| 14694 | +\indexlibrarymember{system_encoded_string}{path}% |
14693 | 14695 | \indexlibrarymember{wstring}{path}%
|
14694 | 14696 | \indexlibrarymember{u8string}{path}%
|
14695 | 14697 | \indexlibrarymember{u16string}{path}%
|
14696 | 14698 | \indexlibrarymember{u32string}{path}%
|
14697 | 14699 | \begin{itemdecl}
|
14698 |
| -std::string string() const; |
| 14700 | +std::string system_encoded_string() const; |
14699 | 14701 | std::wstring wstring() const;
|
14700 | 14702 | std::u8string u8string() const;
|
14701 | 14703 | std::u16string u16string() const;
|
|
14713 | 14715 | by \ref{fs.path.cvt}.
|
14714 | 14716 | \end{itemdescr}
|
14715 | 14717 |
|
| 14718 | +\indexlibrarymember{display_string}{path}% |
| 14719 | +\begin{itemdecl} |
| 14720 | +std::string display_string() const; |
| 14721 | +\end{itemdecl} |
| 14722 | + |
| 14723 | +\begin{itemdescr} |
| 14724 | +\pnum |
| 14725 | +\returns |
| 14726 | +\tcode{format("{}", *this)}. |
| 14727 | +\begin{note} |
| 14728 | +The returned string is suitable for use with formatting \iref{format.functions} |
| 14729 | +and print functions \iref{print.fun}. |
| 14730 | +\end{note} |
| 14731 | +\end{itemdescr} |
14716 | 14732 |
|
14717 | 14733 | \rSec4[fs.path.generic.obs]{Generic format observers}
|
14718 | 14734 |
|
@@ -14752,13 +14768,13 @@
|
14752 | 14768 | \ref{fs.path.cvt}.
|
14753 | 14769 | \end{itemdescr}
|
14754 | 14770 |
|
14755 |
| -\indexlibrarymember{generic_string}{path}% |
| 14771 | +\indexlibrarymember{generic_system_encoded_string}{path}% |
14756 | 14772 | \indexlibrarymember{generic_wstring}{path}%
|
14757 | 14773 | \indexlibrarymember{generic_u8string}{path}%
|
14758 | 14774 | \indexlibrarymember{generic_u16string}{path}%
|
14759 | 14775 | \indexlibrarymember{generic_u32string}{path}%
|
14760 | 14776 | \begin{itemdecl}
|
14761 |
| -std::string generic_string() const; |
| 14777 | +std::string generic_system_encoded_string() const; |
14762 | 14778 | std::wstring generic_wstring() const;
|
14763 | 14779 | std::u8string generic_u8string() const;
|
14764 | 14780 | std::u16string generic_u16string() const;
|
|
14775 | 14791 | Conversion, if any, is specified by~\ref{fs.path.cvt}.
|
14776 | 14792 | \end{itemdescr}
|
14777 | 14793 |
|
| 14794 | +\indexlibrarymember{generic_display_string}{path}% |
| 14795 | +\begin{itemdecl} |
| 14796 | +std::string generic_display_string() const; |
| 14797 | +\end{itemdecl} |
| 14798 | + |
| 14799 | +\begin{itemdescr} |
| 14800 | +\pnum |
| 14801 | +\returns |
| 14802 | +\tcode{format("{:g}", *this)}. |
| 14803 | +\begin{note} |
| 14804 | +The returned string is suitable for use with formatting \iref{format.functions} |
| 14805 | +and print functions \iref{print.fun}. |
| 14806 | +\end{note} |
| 14807 | +\end{itemdescr} |
| 14808 | + |
14778 | 14809 | \rSec4[fs.path.compare]{Compare}
|
14779 | 14810 |
|
14780 | 14811 | \indexlibrarymember{compare}{path}%
|
|
0 commit comments