I am attempting to use C++20 range views and clang is telling me that there is no member named views in std::ranges:
error: no member named 'views' in namespace 'std::ranges'
I am including <ranges> in this file and the line of code is:
return buffer_ | std::ranges::views::drop(static_cast<uint16_t>(bytesBeforeView)) | std::ranges::views::take(viewLength);
This same code compiles fine under msvc c++latest, so I am wondering if clang doesn’t yet implement this feature? I am on windows using clang built yesterday from source. I found this site about the status of the implementation, but it doesn’t mention range views: Clang - C++ Programming Language Status