[libcxx-commits] [PATCH] D130631: [libc++] Implement P0288R9 (move_only_function)

Jonathan Wakely via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Thu Sep 29 11:19:27 PDT 2022


jwakely added a comment.

In D130631#3824399 <https://reviews.llvm.org/D130631#3824399>, @ldionne wrote:

> 2. Survey other implementations and also other open source projects to see what approach they've taken.

GCC's implementation (which could change before we declare C++23 support non-experimental) has a SBO buffer that is big enough to store a pointer to member function and an object pointer, i.e. a simple delegate.

Please do file a GCC request for `trivial_abi`, I don't think that's on anybody's radar yet.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D130631



More information about the libcxx-commits mailing list