Boost logo

Boost :

From: Daniel Wallin (dalwan01_at_[hidden])
Date: 2004-07-17 10:37:30

David Abrahams wrote:
> Daniel Wallin <dalwan01_at_[hidden]> writes:
>>I think there's a better way to express types that are movable but not
>>copyable, which could work on more compilers.
> This looks a lot like the move library idiom that's in the sandbox.
> Interesting the way you prevent copying, though -- maybe that'll work
> on vc6. Since vc6 binds temporaries to non-const references
> willy-nilly I found I couldn't prevent copying.

Yes, I think it should work on VC6. However, since SFINAE won't work, it
will break is_convertible (because the template constructor will be
enabled for anything).

Daniel Wallin

Boost list run by bdawes at, gregod at, cpdaniel at, john at