Scope of enum
Adam D Ruppe
destructionator at gmail.com
Sun Jul 11 12:47:48 UTC 2021
On Sunday, 11 July 2021 at 12:37:20 UTC, DLearner wrote:
> C:\Users\SoftDev\Documents\BDM\D\Examples\CTFE\T2>type k_mod.d
> // k_mod.d
>
>
> ubyte[MemSiz] MemPool;
You didn't import the other module here.
D's imports aren't like C's includes. Each module is independent
and can only see what it itself imports.
A module has no idea who is importing it. It only knows what it
imports inside itself.
More information about the Digitalmars-d-learn
mailing list