Should this Compile?

SamwiseFilmore mggmugginsmc at gmail.com
Tue Oct 3 22:42:35 UTC 2017


On Tuesday, 3 October 2017 at 22:37:17 UTC, SamwiseFilmore wrote:
> Am I using the ternary operator correctly here, or is this an 
> issue with dmd? I'm using dmd v2.076.0.

I wrapped the ternary in parentheses, and it compiled. Still, I'm 
wondering about this behavior.


More information about the Digitalmars-d-learn mailing list