Nathaniel Shead
28adad7a32
libstdc++: Ensure active union member is correctly set
...
This patch ensures that the union members for std::string and
std::variant are always properly set when a change occurs.
libstdc++-v3/ChangeLog:
* include/bits/basic_string.h: (basic_string(basic_string&&)):
Activate _M_local_buf when needed.
(basic_string(basic_string&&, const _Alloc&)): Likewise.
* include/bits/basic_string.tcc: (basic_string::swap): Likewise.
* include/std/variant: (__detail::__variant::__construct_n): New.
(__detail::__variant::__emplace): Use __construct_n.
Signed-off-by: Nathaniel Shead <nathanieloshead@gmail.com >
2023-09-29 16:01:20 +01:00
..
2023-08-16 15:16:25 +02:00
2023-08-16 15:16:25 +02:00
2023-09-25 09:48:44 +01:00
2023-08-24 13:44:38 +01:00
2023-08-16 15:16:25 +02:00
2023-09-15 15:26:26 -04:00
2023-08-16 15:16:25 +02:00
2023-09-25 14:48:26 -04:00
2023-08-16 15:16:25 +02:00
2023-01-16 11:52:17 +01:00
2023-08-16 15:16:25 +02:00
2023-09-07 08:05:51 +01:00
2023-01-16 11:52:17 +01:00
2023-08-16 15:16:25 +02:00
2023-08-16 15:16:25 +02:00
2023-08-16 15:16:25 +02:00
2023-08-16 15:16:25 +02:00
2023-08-16 15:16:25 +02:00
2023-09-13 22:37:18 +02:00
2023-08-16 15:16:25 +02:00
2023-09-15 21:57:41 +01:00
2023-09-12 11:26:50 -04:00
2023-08-09 15:19:15 +01:00
2023-08-16 15:16:25 +02:00
2023-01-16 11:52:17 +01:00
2023-01-16 11:52:17 +01:00
2023-06-30 15:35:02 +01:00
2023-01-16 11:52:17 +01:00
2023-08-16 15:16:25 +02:00
2023-08-16 15:16:25 +02:00
2023-08-18 22:50:48 +01:00
2023-08-16 15:16:25 +02:00
2023-01-16 11:52:17 +01:00
2023-01-16 11:52:17 +01:00
2023-08-16 15:16:25 +02:00
2023-08-16 15:16:25 +02:00
2023-08-16 15:16:25 +02:00
2023-08-16 15:16:25 +02:00
2023-08-16 15:16:25 +02:00
2023-08-16 15:16:25 +02:00
2023-08-24 13:44:38 +01:00
2023-01-16 11:52:17 +01:00
2023-05-12 17:46:28 +01:00
2023-09-07 08:05:15 +01:00
2023-08-24 13:44:38 +01:00
2023-01-16 11:52:17 +01:00
2023-08-09 15:19:15 +01:00
2023-08-16 15:16:25 +02:00
2023-01-16 11:52:17 +01:00
2023-08-16 15:16:25 +02:00
2023-08-16 15:16:25 +02:00
2023-08-16 15:16:25 +02:00
2023-08-16 15:16:25 +02:00
2023-02-02 16:57:27 +00:00
2023-01-16 11:52:17 +01:00
2023-09-11 14:56:58 +01:00
2023-01-16 11:52:17 +01:00
2023-01-16 11:52:17 +01:00
2023-08-16 15:16:25 +02:00
2023-01-16 11:52:17 +01:00
2023-08-16 15:16:25 +02:00
2023-08-16 15:16:25 +02:00
2023-08-16 15:16:25 +02:00
2023-01-16 11:52:17 +01:00
2023-09-11 14:56:58 +01:00
2023-08-16 15:16:25 +02:00
2023-08-16 15:16:25 +02:00
2023-01-16 11:52:17 +01:00
2023-01-16 11:52:17 +01:00
2023-01-16 11:52:17 +01:00
2023-09-25 09:48:44 +01:00
2023-08-09 15:19:15 +01:00
2023-09-29 16:01:20 +01:00
2023-08-16 15:16:25 +02:00
2023-08-16 15:16:25 +02:00