On 04/02/2012 06:23 AM, Jonathan M Davis wrote:
No. It's not. It's a temporary, and temporaries are almost always rvalues. The sole (and very bizarre) exception is struct literals (e.g. ABC(20) is currently considered an lvalue).
DMD 2.059head treats struct literals as rvalues.