
6 Jun
2005
6 Jun
'05
11:19 p.m.
brangdon@cix.compulink.co.uk (Dave Harris) writes:
In-Reply-To: <d80h47$irf$1@sea.gmane.org> technews@kangaroologic.com (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