We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a715017 commit c89e2b3Copy full SHA for c89e2b3
doc/quickbook/zip_iterator.qbk
@@ -52,9 +52,10 @@ These two iterations can now be replaced with a single one as follows:
52
A non-generic implementation of `zip_func` could look as follows:
53
54
55
- struct zip_func :
56
- public std::unary_function<const boost::tuple<const double&, const int&>&, void>
+ struct zip_func
57
{
+ using result_type = void;
58
+
59
void operator()(const boost::tuple<const double&, const int&>& t) const
60
61
m_f0(t.get<0>());
0 commit comments