Static function at module level

ketmar via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun Aug 17 22:53:37 PDT 2014


On Mon, 18 Aug 2014 01:32:40 +0000
Phil Lavoie via Digitalmars-d-learn <digitalmars-d-learn at puremagic.com>
wrote:

> What is a static function at module level exactly? In C, that 
> means private, in D, that means ___________?
nothing. static attribute for free function has no special meaning. but
other function declarations (methods, nested functions) accepts
'static', so why free functions shouldn't?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20140818/bb2a50fa/attachment.sig>


More information about the Digitalmars-d-learn mailing list