|
Boost : |
From: Gennadiy Rozental (gennadiy.rozental_at_[hidden])
Date: 2005-05-02 11:02:04
> For what it's worth, I think the design is impressive and if I had come up
> with it I'd be very proud. Congratulations. The problem is that it is too
> clever. It is using a sledgehammer to crack a nut.
It allows most importantly:
1. Not to mention the collection type
As Eric pointed out - you may not know one. But even if you do writing
std::vector<mytypes<my_param> > several types for every loop I need is
tidies.
2.No need to know/mention about iterator
Since you agree that looping is quite basic need - simplifying it is a
worthy task. As for the complexity it's required to support some corner
cases situation. You could always disable it with defines (that what I am
going to do).
Gennadiy
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk