how do I tell if something is lvalue?

Ali Çehreli via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun Jan 31 16:20:00 PST 2016


On 01/31/2016 01:48 PM, Meta wrote:

> This seems to do the trick, although I haven't extensively tested it.


There is hasLvalueElements() as well. Its implementation my be similar 
or give other ideas:

   https://dlang.org/phobos/std_range_primitives.html#hasLvalueElements

Ali



More information about the Digitalmars-d-learn mailing list