Boost logo

Boost :

Subject: Re: [boost] [tuple] - Move constructors for Tuple
From: Adam Wulkiewicz (adam.wulkiewicz_at_[hidden])
Date: 2013-02-22 07:51:58


paul Fultz wrote:
>
> Will something like this compile on C++03 compilers?
>
> struct foo
> {
> tuple<int> x;
> };
>
> foo a, b;
> a = b;
>
> Otherwise, it should have an option to disable Boost.Move.

It compiles. Why do you think it might not?

I only didn't test the performance of this move-enabled version. The
option to disable it may be added even if everything compiles.

Regards,
Adam


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