![]() |
Boost : |
From: Emil Dotchevski (emil_at_[hidden])
Date: 2007-09-30 20:57:45
> <snip>
> Making 'add' a function template might be another alternative:
>
> throw my_error()
> .add<tag::errno>(errno)
> .add<tag::name>(name)
> // ...
Right, this syntax look better than my "add". If there is a consensus
that the operator<< overload should be removed, I'd be voting for the
syntax above.
Emil Dotchevski
Boost list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk