Boost logo

Boost :

Subject: [boost] [smart_ptr] Patch submitted for #1113
From: Nathan Crookston (nathan.crookston_at_[hidden])
Date: 2011-01-25 13:16:25


I submitted a patch for ticket #1113 [1] which allows statements like
the following:

boost::shared_array<int> pNonConst;
boost::shared_array<const int> pConst = pNonConst;

while preventing treating arrays polymophically. It has been tested
on windows with VC8, VC10, g++3.X and g++4.X. Additionally it has
been tested on solaris with g++3.4. I didn't modify the tests, but
running them seems to produce the correct output. I'd appreciate it
if someone could take a look at it, perhaps applying it if it looks


[1] <>

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