gcc/libstdc++-v3/include/experimental
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
..
bits libstdc++: Fix experimental::filesystem::u8path(const Source&) for Windows 2019-11-30 01:03:36 +00:00
algorithm Make some new algorithms work in parallel mode 2019-10-01 22:02:27 +01:00
any Make any_cast compare typeinfo as well as function pointers 2019-05-23 15:13:18 +01:00
array P0325R4 to_array from LFTS with updates 2019-08-08 11:18:53 +01:00
buffer Improve docs for Networking TS 2019-05-02 16:46:34 +01:00
chrono Improve docs for Library Fundamentals TS 2019-05-02 16:46:29 +01:00
deque Improve docs for Library Fundamentals TS 2019-05-02 16:46:29 +01:00
executor Simplify common case of use_future_t that uses std::allocator 2019-10-24 15:39:57 +01:00
filesystem Improve docs for Filesystem TS 2019-05-02 16:45:32 +01:00
forward_list Improve docs for Library Fundamentals TS 2019-05-02 16:46:29 +01:00
functional Improve docs for Library Fundamentals TS 2019-05-02 16:46:29 +01:00
internet Include netinet/in.h in include/experimental/internet 2019-09-30 22:26:57 +02:00
io_context Improve docs for Networking TS 2019-05-02 16:46:34 +01:00
iterator Improve docs for Library Fundamentals TS 2019-05-02 16:46:29 +01:00
list Improve docs for Library Fundamentals TS 2019-05-02 16:46:29 +01:00
map Improve docs for Library Fundamentals TS 2019-05-02 16:46:29 +01:00
memory Improve docs for Library Fundamentals TS 2019-05-02 16:46:29 +01:00
memory_resource PR libstdc++/77691 fix resource_adaptor failures due to max_align_t bugs 2019-05-22 21:29:39 +01:00
net Improve docs for Networking TS 2019-05-02 16:46:34 +01:00
netfwd Improve API docs for Filesystem TS and Networking TS 2019-05-08 00:22:01 +01:00
numeric Improve docs for Library Fundamentals TS 2019-05-02 16:46:29 +01:00
optional Remove redundant __constexpr_addressof function 2019-05-02 22:23:35 +01:00
propagate_const Improve docs for Library Fundamentals TS 2019-05-02 16:46:29 +01:00
random Improve docs for Library Fundamentals TS 2019-05-02 16:46:29 +01:00
ratio Improve docs for Library Fundamentals TS 2019-05-02 16:46:29 +01:00
regex Improve docs for Library Fundamentals TS 2019-05-02 16:46:29 +01:00
set Improve docs for Library Fundamentals TS 2019-05-02 16:46:29 +01:00
socket Improve docs for Networking TS 2019-05-02 16:46:34 +01:00
source_location Improve docs for Library Fundamentals TS 2019-05-02 16:46:29 +01:00
string Improve docs for Library Fundamentals TS 2019-05-02 16:46:29 +01:00
string_view Define __type_identity_t alias and use for string_view 2019-07-12 12:43:22 +01:00
system_error Improve docs for Library Fundamentals TS 2019-05-02 16:46:29 +01:00
timer Improve docs for Networking TS 2019-05-02 16:46:34 +01:00
tuple Improve docs for Library Fundamentals TS 2019-05-02 16:46:29 +01:00
type_traits Disable -Wctor-dtor-privacy warnings for some standard types 2019-06-14 15:03:20 +01:00
unordered_map Improve docs for Library Fundamentals TS 2019-05-02 16:46:29 +01:00
unordered_set Improve docs for Library Fundamentals TS 2019-05-02 16:46:29 +01:00
utility Improve docs for Library Fundamentals TS 2019-05-02 16:46:29 +01:00
vector Improve docs for Library Fundamentals TS 2019-05-02 16:46:29 +01:00