
Marco Costalba wrote:
On 10/1/07, Joel de Guzman <joel@boost-consulting.com> wrote:
Marco Costalba wrote:
On 10/1/07, Marco Costalba <mcostalba@gmail.com> wrote:
On 10/1/07, Joel de Guzman <joel@boost-consulting.com> wrote:
Joel de Guzman wrote:
Hence, I'd like to propose an extension (or a separate library) for allowing overloads for boost.function. The example above can be declared as: [snip] A little bit more complex but works for any number of arguments (sigantures). Smart, Marco! You know fusion well :-)
Well, not so well, it doesn't compile...but I've looked also at tuples in the meantime and this one actually works:
Sorry to post the file but I have no access to my host:
Better. Only relies on tuples. No more. With low level libraries, the ideal is to rely on as little libraries as possible. Regards, -- Joel de Guzman http://www.boost-consulting.com http://spirit.sf.net