[libcxx-commits] [libcxx] [libc++][ranges] `elements_view`: `get()` forward declarations - tests (PR #82323)

Hristo Hristov via libcxx-commits libcxx-commits at lists.llvm.org
Mon Feb 26 22:58:36 PST 2024


H-G-Hristov wrote:

This adds tests similar to a test in
- https://github.com/llvm/llvm-project/pull/79744

related to `elements_view` and `get` function. In case of `complex` if the function is not forward declared the test fails to compile:
- https://github.com/llvm/llvm-project/actions/runs/8045524125/job/21980725462?pr=82323

but the sample tests, which I believe to test the `get` function for the remaining `tuple-like`: `tuple`, `pair`, etc. compile properly. The `tuple-like get` forward declarations are included in `tuple_like.h`.

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


More information about the libcxx-commits mailing list