[libc-commits] [PATCH] D150211: [libc] Extend optional to support non trivially destructible types

Mikhail Ramalho via Phabricator via libc-commits libc-commits at lists.llvm.org
Fri Aug 4 12:33:42 PDT 2023


mikhail.ramalho added a comment.

Hey Michael, I've managed to reduce the implementation to support only the needed parts.

The implementation of optional in libc now supports non trivial destructive objects and as a bonus a made all the methods constexpr


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D150211/new/

https://reviews.llvm.org/D150211



More information about the libc-commits mailing list