[libcxx-commits] [PATCH] D115988: [libc++][format] Adds formatter pointer.

Mark de Wever via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Sat Dec 18 02:49:36 PST 2021


Mordante created this revision.
Mordante added reviewers: ldionne, vitaut.
Herald added a subscriber: mgorny.
Mordante requested review of this revision.
Herald added a project: libc++.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.

This implements the last required formatter specialization.

Completes:

- LWG 3251 Are std::format alignment specifiers applied to string arguments?
- LWG 3340 Formatting functions should throw on argument/format string mismatch in §[format.functions]
- LWG 3540 §[format.arg] There should be no const in basic_format_arg(const T* p)

Implements parts of:

- P0645 Text Formatting

Depends on D114001 <https://reviews.llvm.org/D114001>


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D115988

Files:
  libcxx/docs/Status/Cxx20Issues.csv
  libcxx/docs/Status/Cxx2bIssues.csv
  libcxx/include/CMakeLists.txt
  libcxx/include/__format/format_arg.h
  libcxx/include/__format/formatter_pointer.h
  libcxx/include/__format/parser_std_format_spec.h
  libcxx/include/format
  libcxx/include/module.modulemap
  libcxx/test/libcxx/utilities/format/format.arguments/format.arg/visit_format_arg.pass.cpp
  libcxx/test/libcxx/utilities/format/format.string/format.string.std/std_format_spec_pointer.pass.cpp
  libcxx/test/std/utilities/format/format.formatter/format.context/format.formatter.spec/formatter.pointer.pass.cpp
  libcxx/test/std/utilities/format/format.functions/format_tests.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D115988.395277.patch
Type: text/x-patch
Size: 33923 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20211218/12e4d83b/attachment-0001.bin>


More information about the libcxx-commits mailing list