Cpplint seems to assume that all standard algorithms come from the STL,
so, for example, if Boost algorithms are used,
the linter suggests to include <algorithm>.
Note that the function call is fully qualified as is required by the Google style:
#include <boost/range/algorithm.hpp>
void foo() {
boost::sort(std::vector<int>{1, 2, 3, 4});
}
The solution strategy could be to take into account std:: qualification for function calls.
Reactions are currently unavailable
Cpplint seems to assume that all standard algorithms come from the STL,
so, for example, if Boost algorithms are used,
the linter suggests to include <algorithm>.
Note that the function call is fully qualified as is required by the Google style:
The solution strategy could be to take into account std:: qualification for function calls.