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


All,

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
good.

Thanks,
Nate

[1] <https://svn.boost.org/trac/boost/ticket/1113>


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