Module and package question

Adam D. Ruppe destructionator at
Sat Nov 14 15:29:29 UTC 2020

On Saturday, 14 November 2020 at 15:05:52 UTC, Dibyendu Majumdar 
> Is my understanding correct that package and module names form 
> part of the name mangling?

yeah. even in D the full name includes it

a.b.c.hello(); // will work once a.b.c is imported

useful for disambiguating conflicting imports

But this full name is what creates the mangle.

> Is it also true that the package and module name need not be 
> associated with directory structure or file name?


More information about the Digitalmars-d mailing list