[Issue 8471] New: std.stdio.readf

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Jul 30 05:23:02 PDT 2012


http://d.puremagic.com/issues/show_bug.cgi?id=8471

           Summary: std.stdio.readf
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: nobody at puremagic.com
        ReportedBy: bioinfornatics at gmail.com


--- Comment #0 from bioinfornatics <bioinfornatics at gmail.com> 2012-07-30 05:23:01 PDT ---
http://dlang.org/phobos/std_stdio.html#readf

why readf do not use reference ? as :

uint readf(Data...)(in char[] format, ref Data data); 


it is not possible? I think this little thing could enhance to have a D
cohesive syntax. Of course D support pointer but ref is more in D spirit and
point C spirit. They are not many phobos function where need a pointer or an
address.


Thanks, i hope my talk is not stupid

kind regards

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


More information about the Digitalmars-d-bugs mailing list