4 ms·
Prefer views::meow
- 29athrowaway 4y agoHave you watched the show "Lost"? where they keep adding elements to the plot and the show just diverges more and more? If Lost lasted for like 50 seasons, the result would be C++. They keep adding crap and making it backwards compatible, and the result is this infinite mess that's impossible to learn.
- rrgok 4y agoTime to rewrite C++ :-)
- tialaramex 4y agoIt does seem like the existence of e.g. readily accessible constructors for std::ranges::transform_view is a mistake. I'm not convinced it's worthwhile for the standard to insist they can be constructed from outside the views implementation at all, but certainly there's no reason to leave the constructor where programmers will use it by mistake.