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

Adam D Ruppe destructionator at gmail.com
Wed Dec 29 15:28:01 UTC 2021

On Wednesday, 29 December 2021 at 10:14:13 UTC, Tobias Pankrath 
> How do I mixin a function only if it is not already present?

This is the default behavior of template mixins.

More information about the Digitalmars-d-learn mailing list