873 Posts, 59 Following, 1.08K Followers · C++, compilers, and programming languages. Library developer @ think-cell, chair for std::ranges @ C++ standardization committee.| Fosstodon
You probably know that C++20 adds ranges. Finally we can write copy(container, dest) instead of copy(container.begin(), container.end(), dest)! Ranges also do a lot more. Among other things, they add a new way of specifying an iterator to the end – sentinels.| www.foonathan.net