Boost logo

Boost :

Subject: Re: [boost] Movable but not copyable bug?
From: Peter Dimov (lists_at_[hidden])
Date: 2014-08-25 18:36:00

Vicente J. Botet Escriba wrote:
> I suspect that Bar copy constructor should be available only if T is copy
> constructible. Unfortunately I don't know a way to achieve this.

Boost.Move's macros add a nested typedef, whose presence may in principle be
exploited for SFINAE-ing out the copy constructor when T is move-only.

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