|
Boost Users : |
Subject: Re: [Boost-users] [Move, Container] returning a move-only type
From: Ion Gaztañaga (igaztanaga_at_[hidden])
Date: 2014-02-05 15:19:32
El 05/02/2014 12:05, John M. Dlugosz escribió:
> The definition of boost::container::vector includes:
> BOOST_COPYABLE_AND_MOVABLE
> rather than BOOST_MOVABLE_BUT_NOT_COPYABLE if the element type cannot be
> copied.
Yes, this is definitely a bug on Boost.Container, as it defines the copy
constructor and the move emulation is not good enough to avoid the
defined copy-constructor. I guess this will need some surgery in
Boost.Container. Can you open a ticket please?
Best,
Ion
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net