Passing anonymous enums as function parameters

Jacob Carlborg doob at me.com
Mon Dec 18 14:19:22 UTC 2017


On 2017-12-17 20:45, Jonathan M Davis wrote:

> That's pretty much just declaring manifest constants with braces so that you
> don't repeat the keyword enum a bunch of times.

Anonymous enum is what the spec calls it and was available before 
manifest constants.

-- 
/Jacob Carlborg


More information about the Digitalmars-d-learn mailing list