Range over a container r-value with disabled postblit

Nordlöw per.nordlow at gmail.com
Sun Jan 14 21:59:02 UTC 2018


On Sunday, 14 January 2018 at 21:57:37 UTC, Nordlöw wrote:
> Note that __trait(isLvalue, this) cannot be used to detect 
> whether `this` is an l-value or an r-value, which I find 
> strange.

Shall be

__traits(isRef, this)


More information about the Digitalmars-d-learn mailing list