Static function at module level

Phil Lavoie via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun Aug 17 18:32:40 PDT 2014


Ok, so after years of D usage I just noticed that this is valid D 
(compiles anyways):

static void myFunc() {}

What is a static function at module level exactly? In C, that 
means private, in D, that means ___________?

Thanks,
Phil


More information about the Digitalmars-d-learn mailing list