Editions Ideas

Meta jared771 at gmail.com
Wed Mar 11 04:47:38 UTC 2026


On Wednesday, 24 December 2025 at 14:06:47 UTC, Timon Gehr wrote:
> On 12/23/25 01:29, 6622 wrote:
>> 
>> I support removing the multiple inheritance, it snuck into the 
>> language unintentionally.
>
> a) It's not actually multiple inheritance.
> b) TDPL documents that there can be more than one `alias this`.
>
> This is not any more complicated than allowing more than one 
> module to be imported...

Is there any reason you can't put free functions in a module and 
import them inside a struct to sort of simulate this? You could 
even have a weird form of "inheritance" by publicly importing one 
module into another.


More information about the Digitalmars-d mailing list