std::filesystem::path::generic_string, std::filesystem::path::generic_wstring, std::filesystem::path::generic_u8string, std::filesystem::path::generic_u16string, std::filesystem::path::generic_u32string
: cppreference.com
<tbody>
</tbody>
<tbody class="t-dcl-rev t-dcl-rev-num t-dcl-rev-notes t-since-cxx17 ">
</tbody><tbody>
</tbody>
<tbody class="t-dcl-rev t-dcl-rev-num ">
</tbody><tbody>
</tbody>
template< class CharT, class Traits = std::char_traits<CharT>, class Alloc = std::allocator<CharT> > std::basic_string<CharT,Traits,Alloc> generic_string( const Alloc& a = Alloc() ) const; |
(1) | (C++17) |
| (2) | (C++17) | |
std::string generic_string() const; |
||
std::wstring generic_wstring() const; |
||
std::u16string generic_u16string() const; |
||
std::u32string generic_u32string() const; |
||
| (3) | ||
std::string generic_u8string() const; |
(C++17) (C++20) |
|
std::u8string generic_u8string() const; |
(C++20) | |
path::value_typecharPOSIX (Linux ) UTF-8string()path::value_typewchar_tWindows Windows wchar_t 16 UTF-16path::value_typechar16_tUTF-16path::value_typechar32_tUTF-32path::value_typechar8_tUTF-8
/
1)
a 3)
u8string() UTF-8 | a | - | |
-CharT (char, wchar_t, char16_t, char32_t)
| ||
()
| () |