Boost logo

Boost :

Subject: Re: [boost] yomm2 - open methods
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2018-01-19 19:24:02


AMDG

On 01/19/2018 11:23 AM, Jean-Louis Leroy via Boost wrote:
> in 2013 I posted a proposal for an "open multi-methods" library, see
> here: https://lists.boost.org/Archives/boost/2013/07/205383.php Due to
> insufficient interest, I did not go forward with a formal submission,
> and I published my work on github, under the name yomm11.
>
> I have now completely rewritten the library. The new version - yomm2 -
> is available here: https://github.com/jll63/yomm2 This iteration is
> much better because it does not require any modifications to classes
> involved in method dispatch, yet the speed of a method call with one
> virtual argument is within 15% of the equivalent virtual function
> call.
>

So, if it's fully non-intrusive, can it be made
to work with boost::any or Boost.TypeErasure?

In Christ,
Steven Watanabe


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