On Fri, Jan 19, 2018 at 1:24 PM, Steven Watanabe via Boost < boost@lists.boost.org> wrote:
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?
This was the first thing that occurred to me, too. A graceful way to do dynamic re-binding of erased types is something I want. zach