Andre Poenitz <[EMAIL PROTECTED]> writes: | On Wed, Jul 31, 2002 at 04:29:40PM +0200, Andre' Poenitz wrote: >> Actually, I'd even suggest using something like >> >> class Action { >> kb_action lfun; >> string arg; >> //double x; (?) >> //double y; (?) >> }; >> >> instead of the current (kb_action, string) pairs that are handed down to >> the dispatch() functions. >> >> 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? -- Lgb