How to use std::views::transform on a vector?

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).

Leave a Comment