Don:

> >> but there's absolutely no reason why 'new' expressions should be 
> >> disallowed.<
> I mean things like:
> int [] a = new int[n];
> which is trivial -- about 5 lines of code.

I hope to see such trivial thing in future DMDs :-)
So it may simplify the code I've shown here:

http://www.digitalmars.com/webnews/newsgroups.php?art_group=digitalmars.D.announce&article_id=16767

(Or I'd like to be able to return fixed-sized arrays (by value?) from 
functions).

Bye,
bearophile

Reply via email to