Mail Archives: djgpp/1998/06/05/09:16:21
"Daniel Urquhart" <NoSpamdurquhart AT jlcrowe DOT org> writes:
> [CUT]
> >I don't know C++ very well but
> >string comparison could be made with == operator...
>
> You are (allmost but) not right. If you did use a string objects, they
> coulde be compared with th == operator. BUT I have yet to see manny people
> using clases for stings and it is DEFINETLY NOT standard !
Sorry, but I can't resist quoting from a posting by Bjarne Stroustrup to
comp.std.c++ from November 1997:
====
Friday, Nov 14, the ISO C++ standards committee unanimously approved
a "final draft international standard" (FDIS) for C++. This means that
all technical work on the C++ standard has been completed.
The number of the C++ standard is ISO/IEC 14882.
There is a final step in the ISO process where the standards bureaucraties
ratify the decision of their technical experts. However, that is a formality
where no serious controversy exists (and the C++ vote was unanimous!).
Under ISO rules, it is now possible to refer to the C++ standard from other
standards. Therefore, so can we. We now have ISO C++, ANSI C++, AFNOR C++,
BIS C++, DIN C++, etc. - and they are all the same :-)
A press release from the committee aimed primarily at non-programmers can
be found among my homepages.
Personally, I'm very pleased with the new standard.
- Bjarne
Bjarne Stroustrup, AT&T Labs, http://www.research.att.com/~bs
====
Class string is specified in that standard. See for yourself at
http://www.cygnus.com/misc/wp/nov97/lib-strings.html
In short, it DEFINITELY *IS* standard.
Ian
--
Ian Miller, Dorset, UK
The views expressed above are entirely those of the writer and do not represent
the views, policy, or understanding of any other person or official body.
- Raw text -