STL is much easyer to handle that lowlevel arrays and such, and it can
   be quite fast as well.

Sorry, IMHO STL exemplifies the phrase ``too clever by half.''  It
really needed another round of design before being released... as my
favorite example of ``things that bit me,'' if you cast a forward
iterator to a reverse iterator you get, not an iterator pointing to
the same list element, but one pointing to the previous list element.
On the other hand, when you cast a reverse iterator to a forward
iterator you get...  oops!  can't do that!

The STL concept is very powerful, but its implementation is so full of
unexpected inconsistencies that it is a royal PITA.

-- 
Joseph J. Pfeiffer, Jr., Ph.D.       Phone -- (505) 646-1605
Department of Computer Science       FAX   -- (505) 646-1002
New Mexico State University          http://www.cs.nmsu.edu/~pfeiffer
SWNMRSEF:  http://www.nmsu.edu/~scifair

Reply via email to