#include <boost/algorithm/string/trim.hpp>
#include <boost/algorithm/string/split.hpp>
-#include <boost/lexical_cast.hpp>
#include <boost/range/algorithm/count.hpp>
#include <boost/iostreams/filter/grep.hpp>
#include <boost/iostreams/filter/line.hpp>
void do_filter(const std::vector<wchar_t>& src, std::vector<wchar_t>& dest) override
{
auto line_count = boost::range::count(src, L'\n') + 4;
- auto out = boost::lexical_cast<std::wstring>(line_count);
+ auto out = std::to_wstring(line_count);
dest.insert(dest.begin(), out.begin(), out.end());
dest.push_back('\n');
}