Page MenuHomePhabricator

[libc++] Add availability markup for std::to_chars on Apple platforms
ClosedPublic

Authored by ldionne on Feb 14 2020, 8:58 AM.

Details

Summary

Otherwise, one gets link errors when trying to back-deploy to older platforms.

rdar://problem/57854364

Diff Detail

Event Timeline

ldionne created this revision.Feb 14 2020, 8:58 AM
lichray accepted this revision.Feb 14 2020, 2:32 PM
lichray added inline comments.
libcxx/test/std/utilities/charconv/charconv.from.chars/integral.roundtrip.pass.cpp
36

+1 for the split.

This revision is now accepted and ready to land.Feb 14 2020, 2:32 PM
ldionne marked an inline comment as done.Feb 15 2020, 10:41 AM
ldionne added inline comments.
libcxx/test/std/utilities/charconv/charconv.from.chars/integral.roundtrip.pass.cpp
36

This has the added benefit that we can test from_chars independently on all platforms.

This revision was automatically updated to reflect the committed changes.