gcc/libstdc++-v3/include
Jonathan Wakely 3eda32cb9b libstdc++: Fix experimental::filesystem::u8path(const Source&) for Windows
This function failed to compile when called with a std::string.

Also, constructing a path with a char8_t string did not correctly treat
the string as already UTF-8 encoded.

	* include/bits/fs_path.h (u8path(InputIterator, InputIterator))
	(u8path(const Source&)) [_GLIBCXX_FILESYSTEM_IS_WINDOWS]: Simplify
	conditions.
	* include/experimental/bits/fs_path.h [_GLIBCXX_FILESYSTEM_IS_WINDOWS]
	(__u8path(const Source&, char)): Add overloads for std::string and
	types convertible to std::string.
	(_Cvt::_S_wconvert): Add a new overload for char8_t strings and use
	codecvt_utf8_utf16 to do the correct conversion.

From-SVN: r278869
2019-11-30 01:03:36 +00:00
..
backward
bits libstdc++: Fix experimental::filesystem::u8path(const Source&) for Windows 2019-11-30 01:03:36 +00:00
c
c_compatibility
c_global
c_std
debug libstdc++: Use C++98 syntax to instantiate input_iterator_tag 2019-11-26 19:23:11 +00:00
decimal
experimental libstdc++: Fix experimental::filesystem::u8path(const Source&) for Windows 2019-11-30 01:03:36 +00:00
ext
parallel
precompiled libstdc++: Fix definition of std::nostopstate object 2019-11-15 14:38:59 +00:00
pstl
std libstdc++: Adjust some function templates for coding conventions 2019-11-29 17:43:55 +00:00
tr1
tr2
Makefile.am Support for jthread and stop_token 2019-11-15 03:09:19 +00:00
Makefile.in Support for jthread and stop_token 2019-11-15 03:09:19 +00:00