[libcxx-commits] [libcxx] [libc++] Fix UB in <expected> related to "has value" flag (#68552) (PR #68733)
via libcxx-commits
libcxx-commits at lists.llvm.org
Sat Oct 14 10:01:02 PDT 2023
================
@@ -894,11 +855,21 @@ class expected {
private:
struct __empty_t {};
+ struct __construct_in_place_tag {};
+ struct __construct_unexpected_tag {};
----------------
huixie90 wrote:
question: why not use `inplace_t` and `unexpect_t`
https://github.com/llvm/llvm-project/pull/68733
More information about the libcxx-commits
mailing list