Boost logo

Boost :

From: Stephan Tolksdorf (andorxor_at_[hidden])
Date: 2006-09-05 15:10:37


> shared_array doesn't support conversions since shared_array<Derived> should
> not be convertible to shared_array<Base>, even though Derived* is
> convertible to Base*. We might be able to add the limited cv-conversions
> using enable_if tricks.

Thanks a lot for the explanation. Enabling the cv-conversions would
definitely increase the uselfulness of shared_array.

Stephan


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