3 ms·
You should check out the boost iterator library. Depending on the application, you might be looking for either the function input iterator or the counting itera
by marblar 13y ago
You should check out the boost iterator library. Depending on the application, you might be looking for either the function input iterator or the counting iterator.
- btilly 13y agoI have avoided learning boost for the simple reason that on the rare occasions when I need C++, it has been apparent to me that I could easily spend longer trying to evaluate whether anything that is available would be a good fit for my problem, than it would take to be done. Put another way, the effort of learning something needs to be amortized over all of the times that you'll likely use that knowledge. I use C++, rarely enough that I won't get much amortization. (And when I do use it, it is painful enough that I don't want to explore it just for personal enjoyment. Leading to my avoiding C++...)