[libcxx-commits] [PATCH] D108645: [libcxx] [NFCI] Complete helper concept

Joe Loser via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue Aug 24 10:18:06 PDT 2021


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

In defining some iterator or ranges concepts, the notion of detecting
whether a type is complete or not is useful. Pull out this idea into a
helper concept: `__complete` and apply it in `<__ranges/access.h>` and
`<__iterator/concepts.h>`.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D108645

Files:
  libcxx/include/CMakeLists.txt
  libcxx/include/__concepts/complete.h
  libcxx/include/__iterator/concepts.h
  libcxx/include/__ranges/access.h
  libcxx/include/module.modulemap
  libcxx/test/libcxx/diagnostics/detail.headers/concepts/complete.module.verify.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D108645.368387.patch
Type: text/x-patch
Size: 6673 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20210824/774816f4/attachment-0001.bin>


More information about the libcxx-commits mailing list