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-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-01 16:01:18 +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-05-11 21:15:22 +01:00
2023-01-16 11:52:17 +01:00
2023-09-29 16:01:20 +01:00
2023-09-29 16:01:20 +01:00
2023-01-16 11:52:17 +01:00
2023-01-16 11:52:17 +01:00
2023-09-11 08:11:24 -07:00
2023-08-16 15:16:25 +02:00
2023-01-16 11:52:17 +01:00
2023-09-01 09:55: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-17 20:24:17 +01: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-08-16 15:16:25 +02:00
2023-08-16 15:16:25 +02:00
2023-01-16 11:52:17 +01:00
2023-04-27 11:28:39 +01:00
2023-01-16 11:52:17 +01:00
2023-02-16 10:24:45 +00:00
2023-04-27 11:28:39 +01:00
2023-01-16 11:52:17 +01:00
2023-06-28 11:47:11 +02:00
2023-01-16 11:52:17 +01:00
2023-04-27 11:28:39 +01:00
2023-01-16 11:52:17 +01:00
2023-09-28 19:14:30 +02:00
2023-08-16 15:16:25 +02:00
2023-04-27 11:28:39 +01:00
2023-01-16 11:52:17 +01:00
2023-08-16 15:16:25 +02:00
2023-03-28 23:51:47 +01:00
2023-09-07 08:08:12 +01:00
2023-08-09 15:19:16 +01:00
2023-01-16 11:52:17 +01:00
2023-06-06 12:43:47 +01: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-01-16 11:52:17 +01:00
2023-01-16 11:52:17 +01:00
2023-01-16 11:52:17 +01:00
2023-04-27 11:28:39 +01:00
2023-04-24 13:39:54 -04:00
2023-04-27 11:28:39 +01:00
2023-01-16 11:52:17 +01:00
2023-04-27 11:28:40 +01:00
2023-08-16 15:16:25 +02:00
2023-09-25 09:48:44 +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-03-28 23:51:47 +01: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-08-16 15:16:25 +02:00
2023-04-27 11:28:39 +01:00
2023-05-31 21:01:16 +01:00
2023-05-31 21:01:16 +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-09-07 08:08:12 +01:00
2023-08-16 15:16:25 +02:00
2023-01-16 11:52:17 +01:00
2023-04-14 10:32:12 -04:00
2023-01-16 11:52:17 +01:00
2023-02-16 10:24:45 +00:00
2023-02-16 10:24:45 +00: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-01-16 11:52:17 +01:00
2023-01-16 11:52:17 +01:00
2023-08-09 15:19:15 +01:00
2023-01-16 11:52:17 +01:00
2023-02-16 10:24:45 +00:00
2023-08-17 12:56:32 -04:00
2023-04-28 13:05:51 +01:00
2022-10-03 15:43:48 +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-04-27 11:28:39 +01:00
2023-08-16 15:16:25 +02:00
2023-01-16 11:52:17 +01:00
2023-05-11 12:16:21 +01:00
2023-01-16 11:52:17 +01:00
2023-01-16 11:52:17 +01:00
2023-03-03 16:06:44 -03:00
2023-08-16 15:16:25 +02:00
2023-08-16 15:16:25 +02:00
2023-07-26 17:02:46 +01:00
2023-07-04 00:05:53 +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-01-16 11:52:17 +01:00
2023-08-10 23:31:37 +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-04-27 11:28:39 +01:00
2023-04-27 11:28:39 +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-01-16 11:52:17 +01:00
2023-01-16 11:52:17 +01:00
2023-04-27 11:28:39 +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-03-22 17:48:19 +00:00
2023-08-09 15:19:15 +01: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-01-16 11:52:17 +01:00
2023-04-28 13:05:51 +01:00
2023-05-31 13:17:46 +01:00
2023-08-16 15:16:25 +02:00
2023-08-16 15:16:25 +02:00
2023-04-27 11:28:39 +01:00
2023-08-16 15:16:25 +02: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-01-16 11:52:17 +01:00
2023-01-16 11:52:17 +01:00
2023-09-01 16:01:23 +01:00
2023-09-25 09:48:44 +01:00
2023-09-25 09:48:44 +01:00
2023-08-16 15:16:25 +02:00