[Issue 9112] Uniform default construction

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Dec 5 19:04:50 PST 2012


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



--- Comment #4 from Jonathan M Davis <jmdavisProg at gmx.com> 2012-12-05 19:04:49 PST ---
> Just curious, in what cases do you need that?

Any time that you want create a pointer to an int - or a float or a bool or any
of the primitive types. Right now, you're forced to do two-part initialization
instead of initializing it to a value other than init when constructing it,
which is particularly bad when const or immutable is involved.

-- 
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