T[new]

grauzone none at example.net
Sun Aug 9 15:05:07 PDT 2009


Stewart Gordon wrote:
> Moreover, would whatever happens solve such const/invariant holes as bug 
> 2093?

Just what happens to the ~= operator anyway? Right now, it appends data 
inline.

My vote would be to make "a~=b" do the same as "a=a~b" (with types "T[] 
a" and "T[] b" or "T b"). T[new]'s ~= would still append inline.



More information about the Digitalmars-d mailing list