Jan Kokemüller 134c915955
[libc++] Fix UB in <expected> related to "has value" flag (#68552) (#68733)
The calls to std::construct_at might overwrite the previously set
__has_value_ flag in the case where the flag is overlapping with
the actual value or error being stored (since we use [[no_unique_address]]).
To fix this issue, this patch ensures that we initialize the
__has_value_ flag after we call std::construct_at.

Fixes #68552
2023-10-30 14:56:03 -04:00
..
2023-10-23 10:42:28 +02:00
2023-03-10 13:28:29 +01:00
2023-10-26 17:25:53 +02:00
2023-03-12 22:19:41 +01:00
ios
2023-08-31 14:56:42 -04:00
2023-07-22 11:28:17 +02:00
2023-04-09 02:52:33 +02:00
2023-06-19 17:04:35 +02:00
2023-05-05 08:39:51 -04:00
2023-05-05 08:39:51 -04:00
2023-09-16 19:54:19 +01:00
2023-05-24 07:51:27 +02:00
2023-05-23 18:44:41 +02:00