[libcxx-dev] Where are the container comparison tests?
Marshall Clow via libcxx-dev
libcxx-dev at lists.llvm.org
Sat Jun 20 12:46:40 PDT 2020
On May 31, 2020, at 4:05 PM, Christopher Di Bella via libcxx-dev <libcxx-dev at lists.llvm.org> wrote:
>
> Hi,
>
> I'm implementing the spaceship operator for the standard containers at the moment, but I can only find the array comparison tests. (And when I get operator<=> to do something wrong at run-time, no assertions seem to fire. Compile-time errors confirm they're being compiled.)
>
> Where are they located?
We have them for std::array, it appears. ;-)
In libcxx/test/std/containers/sequences/array/compare.pass.cpp
— Marshall
More information about the libcxx-dev
mailing list