improvement request - enabling by-value-containers
Kagamin
spam at here.lot
Tue Dec 14 21:37:10 PST 2010
Jonathan Schmidt-Dominé Wrote:
> Just about my experiences: When trying to hack some algorithms quickly in
> Ruby I made a lot of mistakes because I had to care about a .clone
> everywhere and because Array.new(5, []) does not work as expected (sorry,
> but Array.new(5) { return [] } is not nice). So in fact C++ made my life
> easier than the new, stylish, simple Ruby-programming-language, because of
> the great by-value-containers in the STL.
Hmm... never needed to clone a container. Is there a use case for by-value containers?
More information about the Digitalmars-d
mailing list