Thread overview | |||||
---|---|---|---|---|---|
|
May 24, 2010 [Issue 4229] New: cast spec | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=4229 Summary: cast spec Product: D Version: unspecified Platform: Other OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: www.digitalmars.com AssignedTo: nobody@puremagic.com ReportedBy: ellery-newcomer@utulsa.edu --- Comment #0 from Ellery Newcomer <ellery-newcomer@utulsa.edu> 2010-05-23 21:39:25 PDT --- for D2, the spec is missing description of the following: auto i = cast(const) 1; auto i = cast(const shared) 1; {etc} auto i = cast() 1; Love that last one. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
November 24, 2010 [Issue 4229] cast spec | ||||
---|---|---|---|---|
| ||||
Posted in reply to Ellery Newcomer | http://d.puremagic.com/issues/show_bug.cgi?id=4229 --- Comment #1 from Ellery Newcomer <ellery-newcomer@utulsa.edu> 2010-11-24 14:20:49 PST --- surprised to find out that the last one actually does something: const(uint) i; const(uint[]) j; assert(is(typeof( cast() i) == uint)); assert(is(typeof( cast() j) == const(uint)[])); and here I was assuming it was a typo. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
January 24, 2012 [Issue 4229] cast spec | ||||
---|---|---|---|---|
| ||||
Posted in reply to Ellery Newcomer | http://d.puremagic.com/issues/show_bug.cgi?id=4229 Walter Bright <bugzilla@digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |bugzilla@digitalmars.com Resolution| |WORKSFORME --- Comment #2 from Walter Bright <bugzilla@digitalmars.com> 2012-01-23 17:50:43 PST --- This is already fixed. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation