
Chard wrote:
We've recently been evaluating a move from boost 1.38 to 1.42 [MSVC71], and we had some code that breaks down to the following:
[1] struct T {}; [2] std::auto_ptr<T> ap; [3] boost::shared_ptr<T> sp = ap;
Line [3] stopped compiling because of the 'explicit' introduced (in shared_ptr.hpp) at line [L] (below).
...
- the 'explicit' appears to have been removed at version 1.35 (i.e. it was there at 1.34) and then re-introduced at 1.39. Is there some history to this?
"svn blame" says that the explicit has reappeared in revision 52454: https://svn.boost.org/trac/boost/changeset/52454 It references ticket #2951: https://svn.boost.org/trac/boost/ticket/2951 This is the test that was supposed to be failing but passed without "explicit": https://svn.boost.org/trac/boost/browser/trunk/libs/smart_ptr/test/auto_ptr_...