[libcxx-commits] [PATCH] D125813: [libc++] Removes __cpp_lib_monadic_optional.

Louis Dionne via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue May 31 09:45:56 PDT 2022


ldionne accepted this revision.
ldionne added inline comments.
This revision is now accepted and ready to land.


================
Comment at: libcxx/include/optional:96
     template <class U = T>
-      constexpr EXPLICIT optional(U &&);
+      constexpr explicit optional(U &&);
     template <class U>
----------------
Those are conditionally explicit, so we should either use `EXPLICIT` or `explicit(see-below)` to show that they are not just `explicit`.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D125813



More information about the libcxx-commits mailing list