February 15, 2002 Re: does dm support c++ standard header names? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Richard Johnson | In the latest standard it is I think.
Richard Johnson wrote:
> "Jan Knepper" <jan@smartsoft.cc> wrote in message news:3C6C4926.1CAD8B4D@smartsoft.cc...
> > Yes, it can be true because of the fact that cout is NOT defined in the
> std
> > namespace.
> >
> > Jan
> >
> It's supposed to be defined in the std namespace though isn't it?
>
> Richard.
|
February 15, 2002 Re: does dm support c++ standard header names? | ||||
---|---|---|---|---|
| ||||
Posted in reply to David Rasmussen | It is not completely compliant YET with the latest ANSI/ISO standards...
Jan
David Rasmussen wrote:
> "Jan Knepper" <jan@smartsoft.cc> skrev i en meddelelse news:3C6C4926.1CAD8B4D@smartsoft.cc...
> > Yes, it can be true because of the fact that cout is NOT defined in the
> std
> > namespace.
> >
> > Jan
> >
>
> So this compiler is not ANSI/ISO compliant in the least bit? According to ANSI/ISO compliance, cout is defined int the std namespace. In practice, this means that most modern, compliant code cannot be compiled with this compiler. That's a shame.
>
> /David
|
February 15, 2002 Re: does dm support c++ standard header names? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Richard Johnson | Richard Johnson wrote: > "David Rasmussen" <pinkfloydhomer@yahoo.com> wrote in message news:a4hg6h$th4$1@digitaldaemon.com... > > > > The compiler doesn't seem to support namespaces either?! > > > > #include <iostream> > > > > int main() > > { > > std::cout << "Hello World!" << std::endl; > > > > return 0; > > } > > > > This produces errors, when compiled, even if iostream.h is used instead... > > > > Can this be true?? I thought this compiler was good! > > > > /David > > I think the compiler does support namespaces (in the sense that you can > create your own namespaces) Correct to some extend. Walter is working on this. > but the standard c++ headers have not been placed in the std namespace as they are supposed to be. That's why you can't use std::cout. Correct. Jan |
February 16, 2002 Re: does dm support c++ standard header names? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jan Knepper | Which is 4 years old :) "Jan Knepper" <jan@smartsoft.cc> skrev i en meddelelse news:3C6D2143.6ECFC52B@smartsoft.cc... > It is not completely compliant YET with the latest ANSI/ISO standards... > > Jan > > > > David Rasmussen wrote: > > > "Jan Knepper" <jan@smartsoft.cc> skrev i en meddelelse news:3C6C4926.1CAD8B4D@smartsoft.cc... > > > Yes, it can be true because of the fact that cout is NOT defined in the > > std > > > namespace. > > > > > > Jan > > > > > > > So this compiler is not ANSI/ISO compliant in the least bit? According to > > ANSI/ISO compliance, cout is defined int the std namespace. In practice, this means that most modern, compliant code cannot be compiled with this compiler. That's a shame. > > > > /David > |
Copyright © 1999-2021 by the D Language Foundation