On Monday, 18 August 2014 at 05:29:53 UTC, Jonathan M Davis via Digitalmars-d-learn wrote:
On Mon, 18 Aug 2014 01:32:40 +0000
Phil Lavoie via Digitalmars-d-learn <digitalmars-d-learn@puremagic.com>
wrote:

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 ___________?

I'm pretty sure that it means nothing. It's just one of those cases where an attribute is ignored, because it doesn't apply rather than resulting in an
error.

- Jonathan M Davis

All right thanks!

Reply via email to