https://bugs.llvm.org/show_bug.cgi?id=50102

            Bug ID: 50102
           Summary: clang 13 failed to compile range-v3 with
                    -stdlib=libc++
           Product: clang
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: C++2a
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected]

https://godbolt.org/z/shsasWvnT

In file included from <source>:1:
In file included from
/opt/compiler-explorer/libs/rangesv3/trunk/include/range/v3/all.hpp:17:
In file included from
/opt/compiler-explorer/libs/rangesv3/trunk/include/range/v3/action.hpp:17:
In file included from
/opt/compiler-explorer/libs/rangesv3/trunk/include/range/v3/action/action.hpp:23:
In file included from
/opt/compiler-explorer/libs/rangesv3/trunk/include/range/v3/action/concepts.hpp:23:
In file included from
/opt/compiler-explorer/libs/rangesv3/trunk/include/range/v3/range/concepts.hpp:39:
In file included from
/opt/compiler-explorer/libs/rangesv3/trunk/include/range/v3/iterator/concepts.hpp:30:
In file included from
/opt/compiler-explorer/libs/rangesv3/trunk/include/range/v3/iterator/access.hpp:22:
/opt/compiler-explorer/libs/rangesv3/trunk/include/std/detail/associated_types.hpp:270:60:
error: too many template arguments for class template '__iterator_traits'
            &is_std_iterator_traits_specialized_impl_(std::__iterator_traits<I,
B> *))[2];
                                                           ^                   
~~
/opt/compiler-explorer/clang-trunk-20210423/bin/../include/c++/v1/__iterator/iterator_traits.h:332:8:
note: template is declared here
struct __iterator_traits {};
       ^

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to