Opened 12 years ago

Closed 12 years ago

#4207 closed Bugs (duplicate)

missing result_type in predicates

Reported by: Maxim Yanchenko <Maxim.Yanchenko@…> Owned by: Pavol Droba
Milestone: Boost 1.43.0 Component: string_algo
Version: Boost 1.44.0 Severity: Problem
Keywords: Cc:

Description

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.

Change History (1)

comment:1 by Steven Watanabe, 12 years ago

Resolution: duplicate
Status: newclosed

Duplicates #2868.

Note: See TracTickets for help on using tickets.