Merge pull request #30 from DanielaE/feature/replace-deprecated-c++98-binder

Conditionally replace deprecated/removed C++98 std::bind1st by std::b…
This commit is contained in:
jzmaddock
2017-06-02 08:18:24 +01:00
committed by GitHub

View File

@ -89,6 +89,11 @@ void class_index::IndexClasses(const std::string& file)
start,
end,
expression);
#elif defined(BOOST_NO_CXX98_BINDERS)
boost::regex_grep(std::bind(&class_index::grep_callback, this, std::placeholders::_1),
start,
end,
expression);
#else
boost::regex_grep(std::bind1st(std::mem_fun(&class_index::grep_callback), this),
start,