[libcxx-commits] [PATCH] D102705: Adds availability macros for std::format.

Louis Dionne via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Thu May 20 08:06:55 PDT 2021


ldionne requested changes to this revision.
ldionne added inline comments.
This revision now requires changes to proceed.


================
Comment at: libcxx/include/__availability:145
+    // contains ABI breaking changes.
+#   define _LIBCPP_AVAILABILITY_FORMAT
+
----------------
Are there any feature test macros associated to this feature? If so, we'll need to disable the feature test macros when we disable the format feature (otherwise, the feature test macro will pretend that `std::format` is available, but one will get an availability error due to the attribute when trying to use it).


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D102705



More information about the libcxx-commits mailing list