On Jun 6, 11:17 am, Chris Forone <4...@gmx.atwrote:
is it possible to get the size of iterated object:
"sizeof(typename iterator_traits<InputIterator>::value_type);"
and NOT using dereferencing
sizeof(*theIterator); ?
Yes, but it doesn't matter, since the argument of a sizeof
operator is never evaluated (except by the compiler, to
determine its type).
--
James Kanze (GABI Software) email:ja*********@gmail.com
Conseils en informatique orient�e objet/
Beratung in objektorientierter Datenverarbeitung
9 place S�mard, 78210 St.-Cyr-l'�cole, France, +33 (0)1 30 23 00 34