Boost C++ Libraries: Ticket #947: problem with shared_ptr on CC v5.1 https://svn.boost.org/trac10/ticket/947 <pre class="wiki">Unable to compile smart_ptr_test.cpp using Sun Workshop 6 2000/04/07 C++ 5.1 due to the following error: "[snip...]/boost/smart_ptr.hpp", line 150: Error: "explicit" is not allowed here. It seems that the explicit keyword may not appear on a templatized ctor for this compiler build. When the explicit keyword on line 150 is removed, the smart_ptr tests compile (and work) fine. </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/947 Trac 1.4.3 jmaurer Fri, 31 Aug 2001 21:52:47 GMT <link>https://svn.boost.org/trac10/ticket/947#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/947#comment:1</guid> <description> <pre class="wiki">Logged In: YES user_id=53943 Note that smart_ptr_test.cpp compiles nicely with Sun Workshop 6u1 C++ 5.2 (see the regression test results). Please consider upgrading the compiler. Boost focuses on the most recent versions of vendor's compilers. Nonetheless, we do appreciate your suggested fix, but it's up to the maintainer whether the fix will be integrated. </pre> </description> <category>Ticket</category> </item> <item> <dc:creator>Peter Dimov</dc:creator> <pubDate>Wed, 28 May 2003 12:02:16 GMT</pubDate> <title>status changed https://svn.boost.org/trac10/ticket/947#comment:2 https://svn.boost.org/trac10/ticket/947#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> </ul> Ticket