[Issue 4251] Hole in the const system: immutable(T)[] implicitly casts to ref const(T)[]

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Nov 18 07:46:43 PST 2011


http://d.puremagic.com/issues/show_bug.cgi?id=4251



--- Comment #20 from Andrei Alexandrescu <andrei at metalanguage.com> 2011-11-18 07:45:55 PST ---
(In reply to comment #19)
> However, I just realized the title is not correct.  So I'll change the title to
> reflect the actual problem (const(T) is perfectly legal to append to
> const(T)[]).

I like Timon's example though, it clarifies quite well a significant problem.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list