
A range is simply a pair of iterators. All the standard algorithms take a pair of parameters and you end up writing code like std::accumulate(receipts.begin(),receipts.end(),0) where most of the time you are simply passing an entire container.
from #lzodevelopment https://ift.tt/2L90vDX
via freelance WordPress developer
No comments:
Post a Comment