Boost C++ Libraries: Ticket #4226: operator safe bool https://svn.boost.org/trac10/ticket/4226 <p> The current implementation uses member function pointers which has known efficiency problems with the MSVC++ compilers. Either the solution from shared_ptr&lt;&gt; should be copied again or a reusable utility class/function/macro should be exctracted/created... </p> <p> Relevant recent boost.devel discussions: <a class="ext-link" href="http://article.gmane.org/gmane.comp.lib.boost.devel/203037/match=operator_bool"><span class="icon">​</span>http://article.gmane.org/gmane.comp.lib.boost.devel/203037/match=operator_bool</a> <a class="ext-link" href="http://article.gmane.org/gmane.comp.lib.boost.devel/200191/match=safe+bool"><span class="icon">​</span>http://article.gmane.org/gmane.comp.lib.boost.devel/200191/match=safe+bool</a> </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/4226 Trac 1.4.3 Neil Groves Sun, 14 Nov 2010 17:45:54 GMT status changed https://svn.boost.org/trac10/ticket/4226#comment:1 https://svn.boost.org/trac10/ticket/4226#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">assigned</span> </li> </ul> Ticket Neil Groves Thu, 23 Dec 2010 08:46:38 GMT type, milestone changed https://svn.boost.org/trac10/ticket/4226#comment:2 https://svn.boost.org/trac10/ticket/4226#comment:2 <ul> <li><strong>type</strong> <span class="trac-field-old">Bugs</span> → <span class="trac-field-new">Feature Requests</span> </li> <li><strong>milestone</strong> <span class="trac-field-old">Boost 1.43.0</span> → <span class="trac-field-new">Boost 1.46.0</span> </li> </ul> <p> Added the 1.46 version as a milestone, and altered from a bug to a feature request since it is an optimization. </p> Ticket Neil Groves Sun, 26 Dec 2010 23:15:36 GMT <link>https://svn.boost.org/trac10/ticket/4226#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/4226#comment:3</guid> <description> <p> Committed a first implementation on the trunk. The implementation of safe_bool is currently in the range_detail namespace. It is implemented with the intention to be pushed out of the range library for better reuse. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>anonymous</dc:creator> <pubDate>Mon, 03 Jan 2011 19:05:03 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/4226#comment:4 https://svn.boost.org/trac10/ticket/4226#comment:4 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> Ticket