Methods in enums

sighoya sighoya at gmail.com
Fri Aug 18 10:48:45 UTC 2023


On Friday, 18 August 2023 at 00:25:13 UTC, Alexandru Ermicioi 
wrote:
> Btw there should not be any problems with self reference in 
> case if you have enum type as an argument to a method inside 
> struct imho.
>
> Best regards,
> Alexandru.

How can I call a method like myEnumInstance.method(arg) when 
using structs in enums?


More information about the Digitalmars-d mailing list