This is a known bug in Clang’s concepts implementation, see https://github.com/llvm/llvm-project/issues/44178
The change https://reviews.llvm.org/D119544 is supposed to fix it, but it hasn’t been committed to Clang trunk yet (as of June 22 2022).
Related Contents:
- Access index of current element in range-for loop c++20
- Why must a std::ranges::filter_view object be non-const for querying its elements?
- What is a “span” and when should I use one?
- Can I take the address of a function defined in standard library?
- What is the (“spaceship”, three-way comparison) operator in C++?
- Which headers in the C++ standard library are guaranteed to include another header?
- What exactly are C++ modules?
- Why does same_as concept check type equality twice?
- Designated initializers in C++20
- Will specialization of function templates in std for program-defined types no longer be allowed in C++20?
- Does constraint subsumption only apply to concepts?
- Why does aggregate initialization not work anymore since C++20 if a constructor is explicitly defaulted or deleted?
- What is `constinit` in C++20?
- Can class template constructors have a redundant template parameter list in c++20
- C++20 constexpr vector and string not working
- Class type non-type template parameter initialization does not compile
- Familiar template syntax for generic lambdas
- Why is volatile deprecated in C++20?
- What are customization point objects and how to use them?
- Is it a good idea to typedef pointers?
- How does virtual inheritance solve the “diamond” (multiple inheritance) ambiguity?
- Why do objects of the same class have access to each other’s private data?
- What is the performance overhead of std::function?
- C++ cast syntax styles
- How can I loop through a C++ map of maps?
- libpng warning: iCCP: known incorrect sRGB profile
- What’s the scope of inline friend functions?
- How to achieve smooth tangent space normals?
- How to use C++ classes with ctypes?
- QtCore.QObject.connect in a loop only affects the last instance
- Why does gcc compiler output pow(10,2) as 99 not 100? [duplicate]
- Seeking and reading large files in a Linux C++ application
- know if .lib is static or import
- Templates polymorphism
- Deleted default constructor. Objects can still be created… sometimes
- How to use clock() in C++
- how to dynamically declare an array of objects with a constructor in c++
- Why is the sprite not rendering in OpenGL?
- What’s up with the thousands of warnings in standard headers in MSVC -Wall?
- Most efficient/elegant way to clip a number?
- opencv multi channel element access
- Are notes and examples in the core language specification of the C++ Standard non-normative?
- C++ class forward declaration
- Reason for C++ member function hiding [duplicate]
- What kinds of optimizations does ‘volatile’ prevent in C++?
- Link errors using members in C++17
- undefined behaviour somewhere in boost::spirit::qi::phrase_parse
- Accessing static class variables in C++?
- clock function in C++ with threads
- What is the branch in the destructor reported by gcov?