
5 Apr
2007
5 Apr
'07
8:54 p.m.
AMDG Alexander Nasonov <alnsn <at> yandex.ru> writes:
Steven Watanabe wrote:
Just as a warning. msvc 8.0 doesn't seem to be able to handle member functions of local classes in functions defined in headers.
I compiled and ran attached file on vc8, vc71, gcc 3.4 and intel-linux 8.1.
The problem is that the linker complains about duplicate definitions. Try using an inline function or template in multiple translation units. msvc 8.0 sp1 won't even let me use __declspec(selectany) In Christ, Steven Watanabe