forked from boostorg/regex
Conditionally replace deprecated/removed C++98 std::bind1st by std::bind.
Signed-off-by: Daniela Engert <dani@ngrt.de>
This commit is contained in:
@ -89,6 +89,11 @@ void class_index::IndexClasses(const std::string& file)
|
|||||||
start,
|
start,
|
||||||
end,
|
end,
|
||||||
expression);
|
expression);
|
||||||
|
#elif defined(BOOST_NO_CXX98_BINDERS)
|
||||||
|
boost::regex_grep(std::bind(&class_index::grep_callback, this, std::placeholders::_1),
|
||||||
|
start,
|
||||||
|
end,
|
||||||
|
expression);
|
||||||
#else
|
#else
|
||||||
boost::regex_grep(std::bind1st(std::mem_fun(&class_index::grep_callback), this),
|
boost::regex_grep(std::bind1st(std::mem_fun(&class_index::grep_callback), this),
|
||||||
start,
|
start,
|
||||||
|
Reference in New Issue
Block a user