C’mon people, this thread is degenerating into a religious war. Let me quote something for y’all:
“…we should recognize that a programming language is a tool, not a solution. A good programming language -- one that helps the programmer express ideas simply, directly, and affordably -- can be a great help, but only to people who understand their application area and the limitations of their tools.”
Bjarne Stroustrup, Why no single programming language can solve every need.
Make games, not war.
Weird C++ type conversion problem (HARD)...
The board messed up the link, here it is in plain text:
http://www.redherring.com/mag/issue65/news-think.html
http://www.redherring.com/mag/issue65/news-think.html
Wow Borlands C++ 5.5 compiler is fantastic. It compiled all my template code perfectly (where-as VC choked on a few of my headers). I wish Microsoft would get their act together and bring VC up to C++ standards (maybe in Visual Studio 7.0?).
MS, in my opinion, has the best IDE and debugger around (other than a standalone debug product). Unfortunately they are obviously not very compliant...argh.
- Dire Wolf
direwolf@digitalfiends.com
MS, in my opinion, has the best IDE and debugger around (other than a standalone debug product). Unfortunately they are obviously not very compliant...argh.
- Dire Wolf
direwolf@digitalfiends.com
[email=direwolf@digitalfiends.com]Dire Wolf[/email]
www.digitalfiends.com
www.digitalfiends.com
quote:
I wish Microsoft would get their act together and bring VC up to C++ standards (maybe in Visual Studio 7.0?).
It doesn''t look like it, check out this Q&A. Specifically:
quote:
we did not have sufficient time/resources to implement partial
specialization. We did significant work on the standard library
and on improved diagnostics for template errors, one of the main
causes of frustration and hair pulling for many C++ developers
trying to use templates. We are looking very hard at what it
takes to fully support expression templates and other advanced
template-based libraries for the next release.
Also (this is 2nd hand information, so don''t blame me if it''s lies ) "I''ve had an email exchange with a MS VC++ product manager, who confirms that they have no plans to improve ISO compliance in 7.0. So any improvements are several years away at best."
Oh, BTW, to declare a template class as a friend you do something like this:
Even if that''s not exactly right, you get the idea.
- null_pointer
Sabre Multimedia
template<typename T2> friend class smart_ptr<T2>
Even if that''s not exactly right, you get the idea.
- null_pointer
Sabre Multimedia
Unfortunately MSVC++ doesn''t like that or it seems to have absolutely no effect (no errors are reported but T2 can''t access T1''s members)! Its annoying really. Borland''s C++ understands it and handles it fine.
- Dire Wolf
direwolf@digitalfiends.com
- Dire Wolf
direwolf@digitalfiends.com
[email=direwolf@digitalfiends.com]Dire Wolf[/email]
www.digitalfiends.com
www.digitalfiends.com
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement