In general, in D, if you don't need inheritance and polymorphism, you probably shouldn't be using a class.
and even if you need, most of the time it is better to write templated free functions with constraints instead. ;-)
In general, in D, if you don't need inheritance and polymorphism, you probably shouldn't be using a class.
and even if you need, most of the time it is better to write templated free functions with constraints instead. ;-)