https://d.puremagic.com/issues/show_bug.cgi?id=12308

           Summary: Request pragma for very thin struct wrappers
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: DMD
        AssignedTo: [email protected]
        ReportedBy: [email protected]


--- Comment #0 from Adam D. Ruppe <[email protected]> 2014-03-06 
20:04:13 PST ---
In short, I want codegen for

pragma(thin_struct) struct S { int; }

to be identical in every way as for int; Especially, struct member functions
just get the value in the register instead of a pointer, and returning structs
is done in the register instead of via hidden pointer.

http://forum.dlang.org/thread/[email protected]?page=2#post-jklqyrulonhxwrucvbil:40forum.dlang.org

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

Reply via email to