/explore
|
You are here |
www.reedbeta.com | ||
| | | | |
ericniebler.com
As you may have heard by now, Ranges got merged and will be part of C++20. This is huge news and represents probably the biggest shift the Standard Library has seen since it was first standardized ... |
|
| | | | | ||
| | | | |
www.foonathan.net
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. |
|
| | | | | ||
| | | | |
brevzin.github.io
Let's say we had a range, represented by a pair of pointers, that we wanted to copy into another pointer. We might write that like so: |
|
| | | | | ||
| | | | |
dlang.org
D Programming Language |
|
| | | |||