Trass3r <> changed:

           What    |Removed                     |Added
                 CC|                            |
           Platform|x86                         |All
         OS/Version|Windows                     |All

--- Comment #1 from Trass3r <> 2011-03-01 06:28:43 PST ---
ref const doesn't make any sense with basic types.

But it makes sense for struct and static array temporaries.

The weird thing is struct literals count as lvalues in D2, so this works:

struct A {}
void foo(ref A a) {}
void main()

while calling the following doesn't:
static A bar()
    return A();


Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to