Boost C++ Libraries: Ticket #7246: is_convertible works incorrectly for function target types https://svn.boost.org/trac10/ticket/7246 <p> <code>is_convertible</code> works incorrectly for function target types. For example, </p> <pre class="wiki">boost::is_convertible&lt;int(), int()&gt; </pre><p> should return false_type, but it returns true_type (tested on gcc). Trivial patch attached. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/7246 Trac 1.4.3 Michel Morin Sat, 18 Aug 2012 11:16:08 GMT attachment set https://svn.boost.org/trac10/ticket/7246 https://svn.boost.org/trac10/ticket/7246 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">fix_is_convertible_for_function_types.patch</span> </li> </ul> <p> Fixing <code>is_convertible</code> for function target types </p> Ticket Michel Morin Sat, 18 Aug 2012 12:55:27 GMT attachment set https://svn.boost.org/trac10/ticket/7246 https://svn.boost.org/trac10/ticket/7246 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">add_is_convertible_test_for_function_types.patch</span> </li> </ul> <p> Adding tests for function types </p> Ticket Michel Morin Sun, 19 Aug 2012 02:03:09 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/7246#comment:1 https://svn.boost.org/trac10/ticket/7246#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/80080" title="Fixing `is_convertible` for function types; fixes #7246">[80080]</a>) Fixing <code>is_convertible</code> for function types; fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/7246" title="#7246: Patches: is_convertible works incorrectly for function target types (closed: fixed)">#7246</a> </p> Ticket