HomePhabricator

[libc++][format] Adds char formatter.

Authored by Mordante on Dec 14 2020, 8:39 AM.

Description

[libc++][format] Adds char formatter.

Implements the formatter for all fundamental integer types.
[format.formatter.spec]/2.1
The specializations

template<> struct formatter<char, char>;
template<> struct formatter<char, wchar_t>;
template<> struct formatter<wchar_t, wchar_t>;

This removes the stub implemented in D96664.

Implements parts of:

  • P0645 Text Formatting

Reviewed By: #libc, ldionne

Differential Revision: https://reviews.llvm.org/D103466

Details

Committed
MordanteOct 7 2021, 8:15 AM
Reviewer
Restricted Project
Differential Revision
D103466: [libc++][format] Adds char formatter.
Parents
rG6c8e80c3c2ae: [gn build] Port 3e9689d72cdf
Branches
Unknown
Tags
Unknown