Boost C++ Libraries: Ticket #4207: missing result_type in predicates https://svn.boost.org/trac10/ticket/4207 <p> e.g. <code>boost::is_equal</code> etc. in <code>boost/algorithm/string/compare.hpp</code> </p> <p> due to this, it's impossible to use them with <code>boost::bind</code> etc that require <code>result_type</code> to be declared. </p> <p> Fix: add "<code>typedef bool result_type;</code>" everywhere. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/4207 Trac 1.4.3 Steven Watanabe Wed, 12 May 2010 13:01:10 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/4207#comment:1 https://svn.boost.org/trac10/ticket/4207#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">duplicate</span> </li> </ul> <p> Duplicates <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/2868" title="#2868: Feature Requests: boost::is_less et. al. should define result_type (closed: fixed)">#2868</a>. </p> Ticket