[Issue 5347] Add constructors for primitive types to make pointers easier to use

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Dec 13 04:03:33 PST 2010


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


bearophile_hugs at eml.cc changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bearophile_hugs at eml.cc


--- Comment #4 from bearophile_hugs at eml.cc 2010-12-13 04:01:46 PST ---
(In reply to comment #2)
> Not useful very often? How about every time that you create a pointer to an int
> (or any other primitive type) and want to immediately initialize the value
> that's pointed to?

The syntax is supported for structs and unions. So please show some use cases
for ints, floats, etc.

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