Remove std::unary_function from zip_iterator_eg.rst

This commit is contained in:
Pavel I. Kryukov
2017-11-25 12:15:52 +03:00
committed by GitHub
parent 30b93d7428
commit 1b388c2496

View File

@ -45,8 +45,7 @@ A non-generic implementation of ``zip_func`` could look as follows:
::
struct zip_func :
public std::unary_function<const boost::tuple<const double&, const int&>&, void>
struct zip_func
{
void operator()(const boost::tuple<const double&, const int&>& t) const
{