From: David Abrahams (dave_at_[hidden])
Date: 2005-06-06 18:19:33
brangdon_at_[hidden] (Dave Harris) writes:
> In-Reply-To: <d80h47$irf$1_at_[hidden]>
> technews_at_[hidden] (Jonathan Turkanis) wrote (abridged):
>> array can't be given constructors without sacrificing the aggregate
>> initialization syntax.
> OK... although I'd rather have constructors than aggregate initialisation
> syntax. If the problem is performance, surely the compiler can optimise
> away the difference (given that it's a standard library component with
> known semantics)?
FWIW, you can always add constructors and initialization in a wrapper
layer (e.g. derived class), but you can never take it away.
-- Dave Abrahams Boost Consulting www.boost-consulting.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk