gcc/libstdc++-v3/include/experimental
Jonathan Wakely 16491e137c
libstdc++: Refactor experimental::filesystem::path string conversions
I noticed a -Wc++17-extensions warning due to use of if-constexpr in
std::experimental::filesystem::path, which was not protected by
diagnostic pragmas to disable the warning.

While adding the pragmas I noticed that other places in the same file
use tag dispatching and multiple overloads instead of if-constexpr.
Since we're already using it in that file, we might as well just use it
everywhere.

libstdc++-v3/ChangeLog:

	* include/experimental/bits/fs_path.h (path::_Cvt): Refactor to
	use if-constexpr.
	(path::string(const Allocator&)): Likewise.
2024-09-27 23:55:09 +01:00
..
bits libstdc++: Refactor experimental::filesystem::path string conversions 2024-09-27 23:55:09 +01:00
algorithm libstdc++: #ifdef out #pragma GCC system_header 2024-09-25 08:20:45 -04:00
any libstdc++: #ifdef out #pragma GCC system_header 2024-09-25 08:20:45 -04:00
array libstdc++: #ifdef out #pragma GCC system_header 2024-09-25 08:20:45 -04:00
buffer libstdc++: #ifdef out #pragma GCC system_header 2024-09-25 08:20:45 -04:00
chrono libstdc++: #ifdef out #pragma GCC system_header 2024-09-25 08:20:45 -04:00
contract libstdc++: #ifdef out #pragma GCC system_header 2024-09-25 08:20:45 -04:00
deque libstdc++: #ifdef out #pragma GCC system_header 2024-09-25 08:20:45 -04:00
executor libstdc++: #ifdef out #pragma GCC system_header 2024-09-25 08:20:45 -04:00
filesystem libstdc++: #ifdef out #pragma GCC system_header 2024-09-25 08:20:45 -04:00
forward_list libstdc++: #ifdef out #pragma GCC system_header 2024-09-25 08:20:45 -04:00
functional libstdc++: #ifdef out #pragma GCC system_header 2024-09-25 08:20:45 -04:00
internet libstdc++: #ifdef out #pragma GCC system_header 2024-09-25 08:20:45 -04:00
io_context libstdc++: #ifdef out #pragma GCC system_header 2024-09-25 08:20:45 -04:00
iterator libstdc++: #ifdef out #pragma GCC system_header 2024-09-25 08:20:45 -04:00
list libstdc++: #ifdef out #pragma GCC system_header 2024-09-25 08:20:45 -04:00
map libstdc++: #ifdef out #pragma GCC system_header 2024-09-25 08:20:45 -04:00
memory libstdc++: #ifdef out #pragma GCC system_header 2024-09-25 08:20:45 -04:00
memory_resource libstdc++: #ifdef out #pragma GCC system_header 2024-09-25 08:20:45 -04:00
net libstdc++: #ifdef out #pragma GCC system_header 2024-09-25 08:20:45 -04:00
netfwd libstdc++: #ifdef out #pragma GCC system_header 2024-09-25 08:20:45 -04:00
numeric libstdc++: #ifdef out #pragma GCC system_header 2024-09-25 08:20:45 -04:00
optional
propagate_const libstdc++: #ifdef out #pragma GCC system_header 2024-09-25 08:20:45 -04:00
random
ratio libstdc++: #ifdef out #pragma GCC system_header 2024-09-25 08:20:45 -04:00
regex libstdc++: #ifdef out #pragma GCC system_header 2024-09-25 08:20:45 -04:00
scope libstdc++: #ifdef out #pragma GCC system_header 2024-09-25 08:20:45 -04:00
set libstdc++: #ifdef out #pragma GCC system_header 2024-09-25 08:20:45 -04:00
simd
socket libstdc++: #ifdef out #pragma GCC system_header 2024-09-25 08:20:45 -04:00
source_location
string libstdc++: #ifdef out #pragma GCC system_header 2024-09-25 08:20:45 -04:00
string_view libstdc++: #ifdef out #pragma GCC system_header 2024-09-25 08:20:45 -04:00
synchronized_value libstdc++: #ifdef out #pragma GCC system_header 2024-09-25 08:20:45 -04:00
system_error libstdc++: #ifdef out #pragma GCC system_header 2024-09-25 08:20:45 -04:00
timer libstdc++: #ifdef out #pragma GCC system_header 2024-09-25 08:20:45 -04:00
tuple libstdc++: #ifdef out #pragma GCC system_header 2024-09-25 08:20:45 -04:00
type_traits libstdc++: #ifdef out #pragma GCC system_header 2024-09-25 08:20:45 -04:00
unordered_map libstdc++: #ifdef out #pragma GCC system_header 2024-09-25 08:20:45 -04:00
unordered_set libstdc++: #ifdef out #pragma GCC system_header 2024-09-25 08:20:45 -04:00
utility
vector libstdc++: #ifdef out #pragma GCC system_header 2024-09-25 08:20:45 -04:00