This prevents std::format to be available until there's an ABI stable
version. (This only impacts the Apple platform.)
Depends on D102703
Paths
| Differential D102705
[libc++][format] Adds availability macros for std::format. ClosedPublic Authored by Mordante on May 18 2021, 11:12 AM.
Details
Summary This prevents std::format to be available until there's an ABI stable Depends on D102703
Diff Detail
Event TimelineMordante added a parent revision: D102703: [libc++][NFC] Move basic_format_parse_context to its own header.. ldionne added inline comments.
This revision now requires changes to proceed.May 20 2021, 8:06 AM Mordante marked an inline comment as done. Comment ActionsProperly disable std::format when the availablity macro requires it. This revision is now accepted and ready to land.May 25 2021, 1:05 PM Mordante retitled this revision from Adds availability macros for std::format. to [libc++][format] Adds availability macros for std::format..May 26 2021, 8:54 AM Closed by commit rG963495f0d4b5: [libc++][format] Adds availability macros for std::format. (authored by Mordante). · Explain WhyMay 26 2021, 8:54 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 346221 libcxx/include/__availability
libcxx/include/__format/format_parse_context.h
|
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).