On Wed, Jul 31, 2002 at 05:35:36PM +0200, Lars Gullik Bjønnes wrote:
> >> This way we do could (a) declare the  dispatch() functions without pulling
> >> in e.g. the commandtags.h header and we are (b) free to extend that struct
> >> with real numbers is they are really needed.
> >
> | Lars?
> 
> boost::tuple
> boost::any
> 
> Could perhaps be used for a clean interface?

Hm. The argument might be a boost::any, but I'd rather wrap it together
with the enum into a small class, otherwise (a) above would not work. And
boost/any.hpp pulls in a whopping 19700(!) lines, so I'd rather avoid
including things like that in too many headers...

Andre'

-- 
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)

Reply via email to