Val said:
I want to implement "Policy Based Design" but I don't find the vc7 compiler "friendly" enough for that.
VC7.1 is the bare minimum in my view. Is there a way to upgrade the compiler and libraries to more recent
iso/ansi standards?
I don't think you'll find a significantly better
std lib than the Dinkumware lib shipping with VC.
(Other than a newer version of it, of course.)
As for the compiler: You could buy Comeau C++.
It's only 50$, and it's generally accepted as the
best C++ compiler around. I have yet to find a
bug in it (if I report an error for one of the
other compilers we use, the statement that "como
does (not) compile this" usually is enough to get
the case accepted as a bug) and its diagnostics
are really excellent. OTOH, it has at least two
serious drawbacks: First, it generates C code
and needs another compiler to generate obj files.
(However, VC, which you already have, will do
fine.) Second, it doesn't plug into the IDE.
Writing this I remember that I heard that Intel's
C++ compilers plugs into VS. I have never used it,
though, and don't know how its compliance compares
to VC7.1. (It was said to be far superior to VC6.
But then, in this millenium, what wasn't?)
Otherwise I'll need to port the living daylights out of me
I do write a lot of template code on CodeWarrior.
Its main advantage over VC is that it got two-phase
lookup. The fact that VC misses this can make
porting template code from VC to other compilers a
PITA.
Schobi
--
(e-mail address removed) is never read
I'm Schobi at suespammers dot org
"Sometimes compilers are so much more reasonable than people."
Scott Meyers