What's the point then of even having an enum parameter?
You must pass the enum to the enum parameter. Implicit casting only goes one way.
You are just also allowed to pass the enum to an int parameter.
Adam D. Ruppe via Digitalmars-d Sat, 09 Sep 2017 14:31:17 -0700
What's the point then of even having an enum parameter?
You must pass the enum to the enum parameter. Implicit casting only goes one way.
You are just also allowed to pass the enum to an int parameter.