[libcxx-commits] [PATCH] D153828: [libc++] __iterator/readable_traits.h isn't standalone

Ian Anderson via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Mon Jun 26 18:17:12 PDT 2023


iana created this revision.
iana added reviewers: ldionne, Mordante, Bigcheese.
Herald added a subscriber: ributzka.
Herald added a project: All.
iana requested review of this revision.
Herald added a project: libc++.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.

__iterator/readable_traits.h can't be used by itself, intantiating iter_value_t requires __iterator/iterator_traits.h. readable_traits.h can't include iterator_traits.h though because iterator_traits.h requires readable_traits.h.

Move iter_value_t to __iterator/iterator_traits.h so that both headers can work standalone.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D153828

Files:
  libcxx/include/__algorithm/ranges_unique_copy.h
  libcxx/include/__format/format_functions.h
  libcxx/include/__format/format_string.h
  libcxx/include/__format/formatter_output.h
  libcxx/include/__format/parser_std_format_spec.h
  libcxx/include/__format/unicode.h
  libcxx/include/__iterator/iterator_traits.h
  libcxx/include/__iterator/readable_traits.h
  libcxx/include/__memory/ranges_construct_at.h
  libcxx/include/string_view

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D153828.534808.patch
Type: text/x-patch
Size: 6407 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20230627/907a57cc/attachment.bin>


More information about the libcxx-commits mailing list