This is an archive of the discontinued LLVM Phabricator instance.

[NFC][libc++][format] Switches to from_range constructor.
ClosedPublic

Authored by Mordante on Jul 22 2023, 4:20 AM.

Details

Reviewers
var-const
Group Reviewers
Restricted Project
Commits
rG7b580d8b40bd: [NFC][libc++][format] Switches to from_range constructor.
Summary

Some places in the format library were identified to benefit from
basic_string's from_range constructor. At that time that constructor was
not implemented. It's implemented now so adjust the code to use this new
constructor.

Diff Detail

Event Timeline

Mordante created this revision.Jul 22 2023, 4:20 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 22 2023, 4:20 AM
Mordante requested review of this revision.Jul 22 2023, 4:20 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 22 2023, 4:20 AM
Herald added a reviewer: Restricted Project. · View Herald Transcript
var-const accepted this revision.Aug 1 2023, 4:25 PM
var-const added a subscriber: var-const.

Looks cool!

This revision is now accepted and ready to land.Aug 1 2023, 4:25 PM
This revision was automatically updated to reflect the committed changes.