Subject: [Boost-bugs] [Boost C++ Libraries] #4207: missing result_type in predicates
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-05-12 08:21:35
#4207: missing result_type in predicates
------------------------------------------------------+---------------------
Reporter: Maxim Yanchenko <Maxim.Yanchenko@â¦> | Owner: pavol_droba
Type: Bugs | Status: new
Milestone: Boost 1.43.0 | Component: string_algo
Version: Boost 1.44.0 | Severity: Problem
Keywords: |
------------------------------------------------------+---------------------
e.g. `boost::is_equal` etc. in `boost/algorithm/string/compare.hpp`
due to this, it's impossible to use them with `boost::bind` etc that
require `result_type` to be declared.
Fix: add "`typedef bool result_type;`" everywhere.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/4207> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:03 UTC