[libcxx-commits] [PATCH] D127908: [libc++] Remove std::function in C++03
Nikolas Klauser via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Jun 20 04:02:22 PDT 2022
philnik added inline comments.
Comment at: libcxx/docs/ReleaseNotes.rst:145
+- ``std::function`` has been remove from C++03. If you are using it please remove the uses
+ or upgrade to C++11. It is possible to re-enable ``std::function`` by defining
> jloser wrote:
> > There are a few typos here. How about this, instead?
> > > `std::function` has been removed in C++03. If you are using it, please remove usages or upgrade to C++11 or later. It is possible to re-enable `std::function` in C++03 mode by defining `_LIBCPP_ENABLE_CXX03_FUNCTION`. This option will be removed in LLVM 16.
> I like this reformulation. In particular, let's make sure to use LLVM 16, not libc++16 (which is not an official thing).
You say `a few typos`. Did I miss any, or was there just `removed` without the `d`?
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
More information about the libcxx-commits