[libcxx-commits] [PATCH] D144286: [libc++][format] Addresses LWG3839.

Mark de Wever via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Fri Feb 17 11:05:25 PST 2023


Mordante created this revision.
Herald added a project: All.
Mordante requested review of this revision.
Herald added a project: libc++.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.

  LWG3839 range_formatter's set_separator, set_brackets, and
  underlying functions should be noexcept

Adds tests for:

  template<ranges::input_range R, class charT>
     struct range-default-formatter<range_format::sequence, R, charT>

These were missing, the format functions tests for the sequenences
are already present.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D144286

Files:
  libcxx/docs/Status/Cxx2bIssues.csv
  libcxx/include/__format/formatter_tuple.h
  libcxx/include/__format/range_default_formatter.h
  libcxx/include/__format/range_formatter.h
  libcxx/test/std/utilities/format/format.range/format.range.fmtdef/format.pass.cpp
  libcxx/test/std/utilities/format/format.range/format.range.fmtdef/parse.pass.cpp
  libcxx/test/std/utilities/format/format.range/format.range.fmtdef/set_brackets.pass.cpp
  libcxx/test/std/utilities/format/format.range/format.range.fmtdef/set_separator.pass.cpp
  libcxx/test/std/utilities/format/format.range/format.range.formatter/set_brackets.pass.cpp
  libcxx/test/std/utilities/format/format.range/format.range.formatter/set_separator.pass.cpp
  libcxx/test/std/utilities/format/format.range/format.range.formatter/underlying.pass.cpp
  libcxx/test/std/utilities/format/format.tuple/set_brackets.pass.cpp
  libcxx/test/std/utilities/format/format.tuple/set_separator.pass.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D144286.498451.patch
Type: text/x-patch
Size: 18554 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20230217/c355cead/attachment-0001.bin>


More information about the libcxx-commits mailing list