DIP22 : Private symbol visibility
eles
eles at eles.com
Mon Jan 28 09:18:26 PST 2013
On Monday, 28 January 2013 at 17:05:38 UTC, Dicebot wrote:
> http://wiki.dlang.org/DIP22
Error on that page (for C++):
" public
Default one, "if you can see symbol - you can access it"
That is true only for structs. For classes, "private" is the
default.
See also this:
http://stackoverflow.com/questions/1247745/default-visibility-of-c-class-struct-members
More information about the Digitalmars-d-announce
mailing list