Mail Archives: djgpp/1998/09/09/07:32:05
In article <35F5C1BE DOT 436251A0 AT bellatlantic DOT net>,
Donn Miller <dmm125 AT bellatlantic DOT net> wrote:
>
>
> Arthur wrote:
>
> > > You can think of a class as a struct where all the members are private by
> > > default. A namespace is not a data structure; it's a scope, so it's
different.
> >
> > If DJGPP doesn't support namespaces, then doesn't that mean that GNU C++
doesn't
> > conform to C++ standards?
> >
>
> Actually it will be a good while until most compiler writers can fully
implement
> namespaces. The standard is very new, and Stroustrup tried to be as current
as
> possible by including them in his new book. His intent I think was to write a
book
> that would be good 2-3 years into the future, and not necessarily to reflect
the
> current state of C++.
>
> He also discusses a lot of other standard-library features such as sets,
vectors, and
> lists which also may not be available for some time. I was disappointed that
he
> spent some much time on the "new stuff" that hasn't even been implemented yet,
but I
> can see why he included them.
>
> Donn
>
>
Actually, many (most) recently released compilers supports the "new stuff"
such as namespaces and the STL (e.g. Borland, MS, G++, EGCS, EDG-based
compilers). I describe Standard C++ rather than the most widely available
subset, but I'm not that far ahead of what's shipping.
- Bjarne
Bjarne Stroustrup - http://www.research.att.com/~bs
-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/rg_mkgrp.xp Create Your Own Free Member Forum
- Raw text -