[libcxx-commits] [libcxx] [libc++][ranges] add static_assert for ranges::to (PR #135802)
A. Jiang via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Apr 16 05:45:37 PDT 2025
frederick-vs-ja wrote:
> > > What might be wrong with my test implementation?
> >
> >
> > See other review comments. Also, perhaps we want to verify that const types, volatile types, other arithmetic types, pointer types, pointer-to-member types, enumeration types, _cv_ `void`, reference types, and function types are also rejected.
>
> I understand now. but the tests for const and volatile type qualifications are in a separate test file (`to.static_assert.verify.cpp`). perhaps I should consolidate these tests into a unified file ?
I think adding to the existing `to.static_assert.verify.cpp` would be better.
https://github.com/llvm/llvm-project/pull/135802
More information about the libcxx-commits
mailing list