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

           Summary: A way to specify no ref parameter for value parameters
           Product: D
           Version: 1.035
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: DMD
        AssignedTo: bugzi...@digitalmars.com
        ReportedBy: larsi...@igesund.net


When having methods with value ref/out/inout parameters, it is not possible to
say that you don't want to pass one in the same manner that you can pass null
for reference/pointer types.

The workaround 

foo(int* bar)

does of course work, but it is very unfortunate in these SafeD times that
pointers must be used.


-- 

Reply via email to