Closed mymedia2 closed 10 months ago
Hi @mymedia2, with a quick inspection this looks reasonable, but I'll defer this for the next maintainers' sync. Thanks for the PR.
Thanks!
The changes only apply to not_null
, they are not applied to strict_not_null
. Is there any reason for that? Or was this only overseen/forgotten?
This enables possible optimisations for trivial types. This also avoids a bug in std::variant::emplace from GNU's libstdc++. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106547
Closes: #1134