Boost logo

Boost :

From: Alexander Nasonov (alnsn_at_[hidden])
Date: 2005-02-12 17:28:33


Jonathan Turkanis wrote:
> Alexander Nasonov wrote:
> > Fsm fsm;
> > fsm(enable_all(), Passive(), EvActivate());
> > ^^^^^^^^^^^^
> > enable_all is not yet in tarball but it's very simple. You just make
> > sure every id<N> has a constructor that accept enable_all.
>
> Why is it called an overload set, then? Because all the functions are
overloads
> of operator()?

For historical reason. I've started with real overload sets for multimethods
and ended up with this approach.

--
Alexander

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