Thanks guys, On 12/03/2011 06:19 PM, Alan M. Carroll wrote:
P.S. I've definitely found more than one bug in a compiler (both MSVC and g++) from templates. I used to think that if I wasn't crashing the compiler with my templates, I wasn't really trying. That's become a bit harder but I expect I can get back to it when C++0xeleventy1! is generally available.
I somehow tend to avoid templates myself because this is the major field where compiler vendors begin to dissagree on specification (or lack of it). However they might be handy in some situations which involve mostly third party or public API thought if properly dosed. Regards -- ^TM