[libcxx-commits] [PATCH] D122011: [libc++][ranges] Add implicit conversion to bool test for ranges::find{, if, if_not}

Mark de Wever via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Wed Mar 30 09:08:27 PDT 2022


Mordante added inline comments.


================
Comment at: libcxx/test/support/boolean_testable.h:14
+public:
+  constexpr operator bool() {
+    return value_;
----------------
This header needs to be guarded with the proper C++ version.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D122011



More information about the libcxx-commits mailing list