Boost C++ Libraries: Ticket #7338: pending/indirect_cmp has wrong return type https://svn.boost.org/trac10/ticket/7338 <p> The return_type for indirect_cmp now is PropertyMap::value_type it should be Compare::result_type (or simply bool). </p> <p> The return type for the operator(a,b) should then be return_type instead of bool. </p> <p> Also, the <a class="missing wiki">PropertyMap</a> may be an LValuePropertyMap and then it might be avoided to copy the values before comparison. </p> <p> Patch attached </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/7338 Trac 1.4.3 Alex Hagen-Zanker <ahh34@…> Thu, 06 Sep 2012 08:36:40 GMT attachment set https://svn.boost.org/trac10/ticket/7338 https://svn.boost.org/trac10/ticket/7338 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">indirect_cmp.patch</span> </li> </ul> Ticket Jeremiah Willcock Thu, 06 Sep 2012 13:44:23 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/7338#comment:1 https://svn.boost.org/trac10/ticket/7338#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/80420" title="Fixed issues with indirect_cmp; fixes #7338">[80420]</a>) Fixed issues with indirect_cmp; fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/7338" title="#7338: Bugs: pending/indirect_cmp has wrong return type (closed: fixed)">#7338</a> </p> Ticket