[libcxx-commits] [libcxx] WIP [libc++][ranges] Add `convertible_to` test case for `enumerate_view` iterator ctor test (PR #212044)
Lucas Mellone via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Jul 27 05:56:05 PDT 2026
================
@@ -43,6 +43,7 @@ constexpr void test() {
};
static_assert(std::is_convertible_v<EnumerateIterator, EnumerateConstIterator>);
+ static_assert(std::convertible_to<EnumerateIterator, EnumerateConstIterator>);
----------------
lknknm wrote:
yes probably.
Hristov and I were trying to understand what is the right approach following up the comment mentioned in the PR description (https://github.com/llvm/llvm-project/pull/73617/changes#r1416641551).
We are not sure if just this one line would suffice or if we should add something else. Do you have any ideas? Thanks
https://github.com/llvm/llvm-project/pull/212044
More information about the libcxx-commits
mailing list