Multiple return value as requirements for safety and performance
Nick Treleaven via Digitalmars-d
digitalmars-d at puremagic.com
Mon Jan 2 13:04:58 PST 2017
On Tuesday, 20 December 2016 at 18:51:05 UTC, Brad Anderson wrote:
>> Could the comma expression be contextually removed?
>> Specifically in return expressions as discussed initially in
>> this post?
>
> Back in May a change was introduced to issue a deprecation
> message for uses of the comma operator outside of a for
> statement.
Not quite, the comma expression can be used anywhere so long as
the result is not used.
http://dlang.org/changelog/2.072.0.html#deprecated_commaexp
More information about the Digitalmars-d
mailing list