[libcxx-commits] [libcxx] [libc++][ranges] add static_assert for ranges::to (PR #135802)

via libcxx-commits libcxx-commits at lists.llvm.org
Wed Apr 16 05:32:51 PDT 2025


Yuzhiy05 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 ?


https://github.com/llvm/llvm-project/pull/135802


More information about the libcxx-commits mailing list