[libcxx-commits] [PATCH] D150538: [libc++] Untangles invoke.

Nikolas Klauser via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue May 23 09:33:06 PDT 2023


philnik added a comment.

I still don't think we should move the `__invoke` functions back into `<type_traits>`, since that will inevitably result in `<__type_traits/*>` includes when we just want `__invoke` (which we use at least an order of magnitude more often than all the traits combined). We could instead try to implement `invoke` in terms of `__invoke` directly instead of going through the type traits. While this will probably mean that we deviate from the standard, IMO it's better than having the functions in the wrong place.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D150538



More information about the libcxx-commits mailing list