an anyone tell me why the following code compiles under GCC but not with MSVC? MSVC cannot parse the code properly.
That's because VC++ 6.0 is broken. If your template uses anything that is sophisticated, you basically crosss your fingers and hope it compiles with 6.0. Otherwise you need to code a workaround that works with 6.0, or upgrade to VC++ 7.x
Bookmarks