Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2004-01-23 16:57:35

Howard Hinnant wrote:
> On Jan 23, 2004, at 3:13 PM, Jonathan Turkanis wrote:
>> What is your view on conversions which add cv-qualification?
> As long as your asking... ;-)
> I see no problem with:
> move_ptr<T> p;
> move_ptr<const T> pc(move(p));
> but not vice-versa (just like raw pointers).

The question is, I suspect, about the array case:

    move_ptr<T[]> p;
    move_ptr<T const []> pc( move(p) );

since the one above is already covered by the "usual" converting

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