[libcxx-commits] [PATCH] D96235: [libcxx] adds concepts `std::invocable` and `std::regular_invocable`

Arthur O'Dwyer via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Wed Feb 10 12:10:41 PST 2021


Quuxplusone added inline comments.


================
Comment at: libcxx/include/concepts:138
 #include <__config>
+#include <functional>
 #include <type_traits>
----------------
Could we omit this line, and use `_VSTD::__invoke` (from <type_traits>) below instead of `_VSTD::invoke` (from <functional>)?
Alternatively, could someone add to their to-do list "move `std::invoke` into <type_traits> or something" so that <concepts> doesn't have to pull in all the <functional> stuff?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D96235



More information about the libcxx-commits mailing list