
10 Sep
2004
10 Sep
'04
8:44 p.m.
"Jonathan Turkanis" <technews@kangaroologic.com> wrote in message news:cht2bi$jo7$1@sea.gmane.org...
This was just a dumb example, but I may as well correct it:
struct printer : std::unary_function<int, void> { typedef int result_type; int operator() (int n) const { std::cout << n; }
int operator() (int n) const { std::cout << n; return 0; }
};
Jonathan