[Issue 4916] struct VariantN does not overload ()

2013-10-24 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4916


Andrej Mitrovic andrej.mitrov...@gmail.com changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 CC||andrej.mitrov...@gmail.com
 Resolution||FIXED


-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 4916] struct VariantN does not overload ()

2013-10-24 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4916



--- Comment #3 from github-bugzi...@puremagic.com 2013-10-24 18:30:41 PDT ---
Commits pushed to master at https://github.com/D-Programming-Language/phobos

https://github.com/D-Programming-Language/phobos/commit/27733b1cc4dd32f34a4b6b45c73959f2ccab501e
issue 4916

https://github.com/D-Programming-Language/phobos/commit/92c71f45f8e6216d5091bcd56e6fe38b49ec1eda
Merge pull request #1152 from andralex/4916

Fix Issue 4916: struct VariantN does not overload ()

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 4916] struct VariantN does not overload ()

2013-02-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4916



--- Comment #2 from Andrei Alexandrescu and...@erdani.com 2013-02-26 09:07:24 
PST ---
https://github.com/D-Programming-Language/phobos/pull/1152

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 4916] struct VariantN does not overload ()

2011-01-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4916


Andrei Alexandrescu and...@metalanguage.com changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
 CC||and...@metalanguage.com
 AssignedTo|nob...@puremagic.com|and...@metalanguage.com


-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 4916] struct VariantN does not overload ()

2011-01-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4916



--- Comment #1 from Rob Jacques sandf...@jhu.edu 2011-01-09 08:43:29 PST ---
Note that as listed in Bug 4053, struct constructors and opCall are not
compatible, so the v() syntax isn't possible. In the update to variant I've
been working on, I've added a .call method, which supports functions,
delegates, opCall, etc. Also, multi-argument opCall should be supported:

unittest {
Variant v;
int foo(int x, int y) { return x+y; }
v = foo;
assert(v(4,6) == 10);
}

See https://jshare.johnshopkins.edu/rjacque2/public_html/variant.mht

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 4916] struct VariantN does not overload ()

2010-12-01 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4916


Rob Jacques sandf...@jhu.edu changed:

   What|Removed |Added

 CC||sandf...@jhu.edu
 Depends on||4053
   Severity|normal  |enhancement


-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---