Open h0tc0d3 opened 2 years ago
That's a language limitation due to a feature Clang has yet to implement. This can't be fixed on Range-v3's side, so you'd have to report to whomever is calling ranges::to<QVector>
.
@JohelEGP affects llvm 14 too. So it's not a compiler problem, your library probably violates some of the standards. Because clang gives the best search for errors in the code.
Clang hasn't implemented the feature yet, so it doesn't matter whether it's Clang 14 or 15, except that there's a possibility it's implemented for Clang 15 before its feature freeze.
The feature is "Class template argument deduction for alias templates" at https://en.cppreference.com/w/cpp/compiler_support.