Boost logo

Boost :

Subject: Re: [boost] [function] Multi-signature function?
From: TONGARI J (tongari95_at_[hidden])
Date: 2014-03-11 13:19:34


Hi Steven,

2014-03-12 0:45 GMT+08:00 Steven Watanabe <watanabesj_at_[hidden]>:

> AMDG
>
> On 03/11/2014 09:22 AM, TONGARI J wrote:
> > Hi folks,
> >
> > I know it'd be better to say "overload", but I choose the word carefully
> > because I'm aware of Boost.OverloadedFunction, which is not what I'm
> > talking here (it's complementary, though).
> >
> > What I want is to have std/boost::function support multi-signature
> itself,
> > instead of relying on some external wrapper which is less efficient. For
> > example:
> >
>
>
> http://www.boost.org/doc/html/boost_typeerasure/examples.html#boost_typeerasure.examples.multifunction

Thanks for the example, seems fairly easy with Boost.TypeErasure, then I'd
like to compare the performance :)


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk