[Issue 10784] Cannot initialize Nullable std.typecons.Tuple!(float,"x",float,"y",float,"z")
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Oct 16 18:18:13 UTC 2018
https://issues.dlang.org/show_bug.cgi?id=10784
Nathan S. <n8sh.secondary at hotmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |n8sh.secondary at hotmail.com
Resolution|--- |WORKSFORME
--- Comment #2 from Nathan S. <n8sh.secondary at hotmail.com> ---
Checked example code with DMD v2.082.1 and it's currently working.
---
import std.typecons;
alias Tuple!(float, "x", float, "y", float, "z") Coord;
void main()
{
Nullable!Coord c = Coord(1f,2f,3f);
}
---
--
More information about the Digitalmars-d-bugs
mailing list