
20 Feb
2008
20 Feb
'08
3:33 p.m.
Martin Bonner wrote:
Clearly: bind(Fn,g)(); works. What about:
bind(Fn, bind(Fn, g))();
If that works, how many binds can you add before it stops working?
Yep just the very first bind works but no more levels compile.
You may have run into a compiler limit. What compiler are you using?
I've tried this with VC++ 8.0 & VC++ 9.0 so far. Actually I'm not sure my workaround using Boost.Function is actually equivalent to what i'm trying to achieve.