
5 Jul
2009
5 Jul
'09
9:04 p.m.
I wanted something that would be a particular class, not a function object, for efficiency reasons. I don't follow you here. A polymorphic function object is a mere functor supporting result_of protocol. No efficiency penalty arise using them.
That's what I meant -- a function object (polymorphic or not), not a function template. -- Jeremiah Willcock