Mixin a function into a struct only if no member with that name already exists

Stanislav Blinov stanislav.blinov at gmail.com
Wed Dec 29 10:21:07 UTC 2021


On Wednesday, 29 December 2021 at 10:14:13 UTC, Tobias Pankrath 
wrote:

> How do I mixin a function only if it is not already present?

Perhaps use opDispatch?


More information about the Digitalmars-d-learn mailing list