From: Peter Dimov (pdimov_at_[hidden])
Date: 2004-11-18 06:57:32
Joel de Guzman wrote:
> 1) WRT DSL, I'm not quite sure about the syntax for
> defaults. Example:
> params[name | "unnamed"]
> I have a strong feeling that there's a better syntax but I am
> not sure what it is now. I read in the thread that the syntax
> params[name] | "unnamed"
> is not doable, but I'm not quite sure. Perhaps a clarification
> will set me straight. Having the default in the brackets seems to
> rather awkward. Perhaps:
> is better?
FWIW, I like the current syntax.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk