Thread overview
[Issue 2798] New: std.variant constructor compatible with D variadics
Apr 04, 2009
d-bugmail
April 04, 2009
http://d.puremagic.com/issues/show_bug.cgi?id=2798

           Summary: std.variant constructor compatible with D variadics
           Product: D
           Version: 2.025
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Phobos
        AssignedTo: bugzilla@digitalmars.com
        ReportedBy: dhasenan@gmail.com


std.variant should offer a constructor that can be used with a void*, TypeInfo pair and thus be compatible with D variadic functions. Its current design relies on a large number of compile-time checks, though, and phobos entirely lacks high-level runtime reflection facilities, so this would be difficult.


-- 

October 11, 2009
http://d.puremagic.com/issues/show_bug.cgi?id=2798


Andrei Alexandrescu <andrei@metalanguage.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
                 CC|                            |andrei@metalanguage.com
         AssignedTo|nobody@puremagic.com        |andrei@metalanguage.com


-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
September 26, 2010
http://d.puremagic.com/issues/show_bug.cgi?id=2798


Andrei Alexandrescu <andrei@metalanguage.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |WONTFIX


--- Comment #1 from Andrei Alexandrescu <andrei@metalanguage.com> 2010-09-26 14:26:38 PDT ---
By design, Variant cannot support such a feature.

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