Pacikage level access broken?
Jacob Carlborg
doob at me.com
Mon Apr 23 04:42:36 PDT 2012
On 2012-04-23 10:26, Era Scarecrow wrote:
> On Monday, 23 April 2012 at 06:19:12 UTC, Jacob Carlborg wrote:
>> "public" is the default access level.
>
> So it is... That explains why the tests came out backwards on the
> results.... Wasn't it private by default in C++? I honestly don't know
> sometimes.
I think so. If you use "class" it's private by default. If use "struct"
it's public by default. That's basically the only difference between
"class" and "struct" in C++, if I recall correctly.
--
/Jacob Carlborg
More information about the Digitalmars-d-learn
mailing list