
7 May
2004
7 May
'04
4:23 p.m.
"Peter Dimov" <pdimov@mmltd.net> writes:
John Torjo wrote:
I agree. IMO the best answer for now is to generate the 2^N overloads of operator() for some user-selectable N. Unary and binary functions are so common that IMO usually N==2 will do it.
I second that. Maybe n==3 anyone?
Many older compilers have problems with T& / T const & overloading, even if they support partial ordering.
Which ones? Don't some also bind temps to T& when that's all you supply? -- Dave Abrahams Boost Consulting http://www.boost-consulting.com