|
Boost : |
Subject: Re: [boost] [move] problem with msvc and BOOST_MOVABLE_BUT_NOT_COPYABLE
From: Oliver Kowalke (k-oli_at_[hidden])
Date: 2010-05-28 17:31:14
Am 28.05.2010 20:13, schrieb Ion Gaztañaga:
> GCC 4.4.1 with -std=gnu++0x behaves similarly to boost.move emulation:
<snip>
> $ gcc test.cpp -std=gnu++0x
> C:\Users\IGAZTA~1\AppData\Local\Temp\ccUoS3Ag.o:test.cpp:(.text$_ZN1X6createEv[X::create()]+0x46):
> undefined reference to `X::X(X const&)'
> collect2: ld returned 1 exit status
With gcc-4.4.3 I don't get the linker error (using my example with
boost.move) and msvc-9.0 for tests only.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk