|
Boost : |
From: John Max Skaller (skaller_at_[hidden])
Date: 2001-08-16 18:59:03
Peter Dimov wrote:
>
> Things that I feel are worth submitting, in no particular order:
>
> * a vector that has no overhead compared to new[], uses realloc() wherever
> possible, and uses memcpy() instead of copy/destroy when not instructed
> otherwise, along with a paper that explains why the std::vector current
> specification prevents this. Bonus point: a vector that is as efficient as a
> C99 VLA.
Thats called a C99 VLA. :-)
> * a variant type, both unconstrained (any, or variant<void>) and constrained
> (variant<T>).
Waste of time. I built one of these, and it is too hard to
use to bother. What we really need is core language support :-(
-- John (Max) Skaller, mailto:skaller_at_[hidden] 10/1 Toxteth Rd Glebe NSW 2037 Australia voice: 61-2-9660-0850 New generation programming language Felix http://felix.sourceforge.net Literate Programming tool Interscript http://Interscript.sourceforge.net
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk