Why does a directly defined constructor hide a mixed-in constructor?
60rntogo at gmail.com
Sun Sep 13 13:50:50 UTC 2020
On Sunday, 13 September 2020 at 13:10:15 UTC, Adam D. Ruppe wrote:
> This is pretty useful in a lot of cases but kinda annoying with
> overloading. To overload, you must use `alias` to merge the
> overload sets. For constructors, you need to use the name
> `__ctor` instead of `this` to make it compile:
Yes, that works. Thanks!
More information about the Digitalmars-d-learn