Quote:Original post by chad_420
I wouldn't say gcc is stricter...
It's not about what it implements, it's about following the standards blindly.
Example?
I had some code full of templates with internal typedefs written in MSVC. As sometimes it is required to use "typename" keyword, and I didn't knew exactly when or why (I do now), I ended up typing it everywhere, like:
typedef typename TemplatedClass<TParam> CClassName;
When I was porting it to gcc, I found out I'm only allowed to use the keyword where it <has to> be used. And that was not helpful at all.
Anyway, in the end I just had to learn whens and whys of typename, which turned out for the best for me.
So I'm not saying MSVC does better job, it just does better semantics ;)