[libcxx-commits] [PATCH] D115588: [libcxx][test] Verify customization point object properties

Joe Loser via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Sat Dec 11 16:49:06 PST 2021


jloser created this revision.
jloser added reviewers: Quuxplusone, Mordante, ldionne, cjdb, zoecarver, var-const.
jloser requested review of this revision.
Herald added a project: libc++.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.

Add helper test concept `customization_point_object` which verifies basic
properties of a CPO as defined by the Standard. Apply the concept in
testing various CPOs from `<ranges>`, `<iterator>`, and `<concepts>`
where suitable.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D115588

Files:
  libcxx/test/std/concepts/concepts.lang/concept.swappable/cpo.compile.pass.cpp
  libcxx/test/std/iterators/predef.iterators/iterators.common/cpo.compile.pass.cpp
  libcxx/test/std/language.support/cmp/cmp.alg/cpo.compile.pass.cpp
  libcxx/test/std/ranges/range.access/cpo.compile.pass.cpp
  libcxx/test/std/ranges/range.adaptors/range.all/cpo.compile.pass.cpp
  libcxx/test/std/ranges/range.adaptors/range.common.view/cpo.compile.pass.cpp
  libcxx/test/std/ranges/range.adaptors/range.counted/cpo.compile.pass.cpp
  libcxx/test/std/ranges/range.adaptors/range.reverse/cpo.compile.pass.cpp
  libcxx/test/std/ranges/range.adaptors/range.transform/cpo.compile.pass.cpp
  libcxx/test/std/ranges/range.factories/range.iota.view/cpo.compile.pass.cpp
  libcxx/test/support/customization_point_object.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D115588.393709.patch
Type: text/x-patch
Size: 10544 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20211212/88f32b88/attachment.bin>


More information about the libcxx-commits mailing list