
5 Sep
2006
5 Sep
'06
7:10 p.m.
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