Boost C++ Libraries: Ticket #1310: [result_of] const-qualified function pointer doesn't work https://svn.boost.org/trac10/ticket/1310 <p> boost::result_of can't work with const-qualified function pointer. </p> <pre class="wiki">typedef int (*pf_t)(int); typedef boost::result_of&lt;pf_t(int)&gt;::type result1_t; // ok typedef boost::result_of&lt;pf_t const(int)&gt;::type result2_t; // doesn't compile. </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/1310 Trac 1.4.3 Douglas Gregor Fri, 05 Sep 2008 19:58:32 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/1310#comment:1 https://svn.boost.org/trac10/ticket/1310#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/48620" title="Fix result_of to work with const-qualified function pointers. Fixes #1310">[48620]</a>) Fix result_of to work with const-qualified function pointers. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/1310" title="#1310: Bugs: [result_of] const-qualified function pointer doesn't work (closed: fixed)">#1310</a> </p> Ticket Daniel James Sun, 07 Mar 2010 12:08:02 GMT <link>https://svn.boost.org/trac10/ticket/1310#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/1310#comment:2</guid> <description> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/60289" title="Merge various result_of changes. - [42234] Reduce header ...">[60289]</a>) Merge various result_of changes. </p> <ul><li><a class="changeset" href="https://svn.boost.org/trac10/changeset/42234" title="Reduce header dependencies, from Shunsuke Sogame. Fixes #1535">[42234]</a> Reduce header dependencies, from Shunsuke Sogame. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/1535" title="#1535: Patches: [result_of] remove unneeded headers (closed: fixed)">#1535</a> </li><li><a class="changeset" href="https://svn.boost.org/trac10/changeset/45256" title="result_of implementation that makes use of C++0x decltype, from Daniel ...">[45256]</a> result_of implementation that makes use of C++0x decltype, from Daniel Walker. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/862" title="#862: Patches: [utility] Make result_of handle lambda expressions (closed: fixed)">#862</a>. </li><li><a class="changeset" href="https://svn.boost.org/trac10/changeset/48620" title="Fix result_of to work with const-qualified function pointers. Fixes #1310">[48620]</a> Fix result_of to work with const-qualified function pointers. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/1310" title="#1310: Bugs: [result_of] const-qualified function pointer doesn't work (closed: fixed)">#1310</a> </li><li><a class="changeset" href="https://svn.boost.org/trac10/changeset/60052" title="Remove use of deprecated config macro in result_of.">[60052]</a> Remove use of deprecated config macro in result_of. </li></ul> </description> <category>Ticket</category> </item> </channel> </rss>