On Friday, 18 August 2017 at 09:18:42 UTC, Timon Gehr wrote:
Any downsides?

...

- It introduces a new type that would not really be necessary. This is avoidable, at the cost of a little more verbosity:


D newbie here: is there a non-negligible cost to creating a stateless struct type?

Also, since the struct is private and only used for its aliases, if there a chance the compiler might elide those costs?

Reply via email to