M
Marco
Where can I find a document outlining the main differences between
Microsoft's Visual C++ and ANSI C++?
Thanks,
Marco
Microsoft's Visual C++ and ANSI C++?
Thanks,
Marco
Marco said:Where can I find a document outlining the main differences between
Microsoft's Visual C++ and ANSI C++?
What does it say about the 1997 ISO C++ standard that in 2004,
arguably the dominant C++ compiler, Microsoft Visual C++ does not
fully implement the language? Is this primarily due to the complexity
of the standard or Microsoft's placing a lower priority on standards
compliance? I have read that g++ is getting slower as ISO C++ features
are being added.
Victor Bazarov said:Now, regarding the Standard-compliance, Microsoft has a few areas
that they are still non-compliant, and those are listed in
http://msdn.microsoft.com/library/en-us/vclang/html/vclrfStandardComplianceIssu
esInVisualC.asp
As for G++, it's now a second-grade compiler, as far as I'm concerned.
It used to be good, but not any more. The main reason is motivation
(or rather lack thereof) of the participating developers.
This is incomplete. e.g. VC++ does not support nested templates.
Which one(s) do you consider good ?
As for G++, it's now a second-grade compiler, as far as I'm concerned.
It used to be good, but not any more. The main reason is motivation
(or rather lack thereof) of the participating developers.
arguably the dominant C++ compiler, Microsoft Visual C++ does not
fully implement the language? Is this primarily due to the complexity
of the standard or Microsoft's placing a lower priority on standards
compliance? I have read that g++ is getting slower as ISO C++ features
are being added.
If some C++ compiler doesn't implement standard features, it's the
compiler's fault. It doesn't say anything about the standard, but it
certainly says something about the compiler.
Rob Williscroft said:Mats Weber wrote in in
comp.lang.c++:[...]This is incomplete. e.g. VC++ does not support nested templates.
That I just compiled with VC++ 7.1.
Mats Weber said:Rob Williscroft said:Mats Weber wrote in in
comp.lang.c++:[...]This is incomplete. e.g. VC++ does not support nested templates.
That I just compiled with VC++ 7.1.
You are right. Version 7.1 compiles nested templates. My last try was
version 6.x.
Steven T. Hatton said:I can't fully agree with that. There are features in gcc-3.4.0 that bring
it into better conformity with ISO/IEC 14882:1997. I believe the C++
standard has been difficult to implement. That may in part be due to the
fact that it reads, in some parts, like a leagal contract drawn up by
lawyers, not a technical document written by engineers.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.