From: Dragan Milenkovic on
Jesse Perla wrote:
> On May 29, 7:39 pm, Mark Zaytsev <mark.zayt...(a)> wrote:
>> When you pass function you
>> a. pass pointer to standalone function -- no need to create excessive
>> ref
>> b. pass functor, which is usually stateless -- no need to create ref
>> to 0-sized object
> Alas, my functors have a large size which is part of the problem.

Would creating a reference counting functor that delegates to your
existing overgrown functors help?


[ See for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]