Getting enum from value

ag0aep6g via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Aug 5 10:08:56 PDT 2017


On 08/05/2017 07:05 PM, ag0aep6g wrote:
> E enumFromValue(E)(string s)

The type of `s` should probably be a template parameter as well.


More information about the Digitalmars-d-learn mailing list