Boost logo

Boost :

From: Steven Watanabe (steven_at_[hidden])
Date: 2007-04-05 16:54:09


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


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk