[libcxx-commits] [PATCH] D130631: [libc++] Implement P0288R9 (move_only_function)
Louis Dionne via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Fri Nov 11 19:11:16 PST 2022
ldionne added inline comments.
================
Comment at: libcxx/include/__functional/move_only_function_impl.h:61
+# define _LIBCPP_MOVE_ONLY_FUNCTION_TRIVIAL_ABI
+#endif
+
----------------
https://wg21.link/p2548 `copyable_function` is making progress through the committee. We should discuss how these two types are going to interoperate and whether that should inform the representation we choose for `move_only_function`. In particular, it would be a nice QOI property to have `move_only_function(copyable_function&&)` just steal the guts of the `copyable_function` and make no allocation.
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