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: bugzi...@digitalmars.com
        ReportedBy: dhase...@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.


-- 

Reply via email to