[libcxx-commits] [PATCH] D132312: [libc++][spaceship] Implement `operator<=>` for `list`
Joe Loser via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Sun Aug 21 06:53:02 PDT 2022
jloser added a comment.
In D132312#3737824 <https://reviews.llvm.org/D132312#3737824>, @mumbleskates wrote:
> One thing I have thought about in our march towards finishing the lexically ordered containers is that we should be able to write a test utils header with one or more templated test functions that will work for most or all of these containers. We can possibly even add (in another header?) some helpful types like weakly ordered ints, types that compare with user orderings, etc. so we don't have to keep writing them over and over. This feels fairly sane to me but I don't know what the general vibe is on how DRY is too DRY for our test suite, and maybe it's better to just copy-paste those parts of the code each time.
I'm very +1 for that direction of having a reusable header with common types and functions for this.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D132312/new/
https://reviews.llvm.org/D132312
More information about the libcxx-commits
mailing list