2 ms·
How is that remarkable? Does it have some other actual function and this article is only saying how btw it can also be used to make ersatz enums?
by Brian_K_White 2y ago
How is that remarkable?
Does it have some other actual function and this article is only saying how btw it can also be used to make ersatz enums?
- akira2501 2y ago> make ersatz enums? The author is describing 'iota'. You can easily combine this technique with a custom type wrapper which provides the "full enum" if that's actually what you need. In which case this provides a level of capability and convenience above that of C. In practice, it really is quite remarkable, when you first use it to it's fullest extent.