digitalmars.D.bugs - [Issue 2669] New: Variant does not have opApply or another iteration mechanism
- d-bugmail puremagic.com (15/15) Feb 15 2009 http://d.puremagic.com/issues/show_bug.cgi?id=2669
- d-bugmail puremagic.com (8/8) Mar 14 2009 http://d.puremagic.com/issues/show_bug.cgi?id=2669
- d-bugmail puremagic.com (12/12) Mar 14 2009 http://d.puremagic.com/issues/show_bug.cgi?id=2669
- d-bugmail puremagic.com (11/11) Aug 27 2009 http://d.puremagic.com/issues/show_bug.cgi?id=2669
- d-bugmail puremagic.com (12/12) Sep 26 2010 http://d.puremagic.com/issues/show_bug.cgi?id=2669
http://d.puremagic.com/issues/show_bug.cgi?id=2669 Summary: Variant does not have opApply or another iteration mechanism Product: D Version: unspecified Platform: PC OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: andrei metalanguage.com ReportedBy: andrei metalanguage.com Credit due to Chris Nicholson-Sauls. --
Feb 15 2009
http://d.puremagic.com/issues/show_bug.cgi?id=2669 bugzilla digitalmars.com changed: What |Removed |Added ---------------------------------------------------------------------------- Component|DMD |Phobos I think this means std.variant in Phobos. --
Mar 14 2009
http://d.puremagic.com/issues/show_bug.cgi?id=2669 It might be worthwhile to examine the following: http://dsource.org/projects/dmocks/browser/dunit/trunk/dunit/assertions/variant.d http://dsource.org/projects/dmocks/browser/dunit/trunk/dunit/assertions/variant_array.d The former defines yet another Variant; the latter defines a VariantArray that allows iteration as if it were an array of Variants. This only applies to dynamic and static arrays; it doesn't apply to associative arrays. They also reference my runtime traits module, linked for completeness: http://dsource.org/projects/dmocks/browser/reflect/reflect/RuntimeTraits.d --
Mar 14 2009
http://d.puremagic.com/issues/show_bug.cgi?id=2669 Andrei Alexandrescu <andrei metalanguage.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED 14:27:32 PDT --- I implemented a rather limited opApply for now, but I'll keep this open while I think of a better solution. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Aug 27 2009
http://d.puremagic.com/issues/show_bug.cgi?id=2669 Andrei Alexandrescu <andrei metalanguage.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED 13:34:33 PDT --- Fixed: http://www.dsource.org/projects/phobos/changeset/2059 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Sep 26 2010