Am Sonntag, 16. April 2006 11:59 schrieb Lars Gullik Bjønnes:
> Georg Baum <[EMAIL PROTECTED]> writes:
> 
> | Am Samstag, 15. April 2006 10:22 schrieb Lars Gullik Bjønnes:
> | > Eventually something must be done with this if .. if ... if list
> | > 
> | > Using a map or an unordered_map seems like a solution, not right now
> | > perhaps.
> | 
> | I am not sure. What would you store in the map? The problem is that we 
> | sometimes need arguments to the inset constructors.
> 
> You can store functions to run.

And that would mean to create a function for each inset? I don't think it 
would be better than the if ... if chain. At least it would be a lot more 
to write.


Georg

Reply via email to