Pass 'this' as reference
Jan
rotzooi at efs.fesnl
Wed Sep 19 13:25:02 UTC 2018
On Saturday, 15 September 2018 at 20:13:51 UTC, Jonathan M Davis
wrote:
> On Saturday, September 15, 2018 11:44:05 AM MDT Jan via
> Digitalmars-d-learn wrote:
>> [...]
>
> No. variables are _always_ lvalues. An lvalue is an object
> which is addressable and which can therefore be assigned a
> value (ignoring issues of constness). The name comes from the
> fact that lvalues are allowed on the left-hand side of an
> assignment operation, whereas rvalues are only allowed on the
> right. e.g.
>
> [...]
Many thanks Jonathan! :)
More information about the Digitalmars-d-learn
mailing list