foo is not an lvalue

bearophile bearophileHUGS at lycos.com
Wed Apr 17 18:02:21 PDT 2013


Ellery Newcomer:

> dmd from master (a few days ago) gives:
>
>  Error: foo()() is not an lvalue
>
>
> wut?

I think you need to write:

auto a = &foo!();

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list