assert in unittest has access to private member?

Robert M. Münch robert.muench at saphirion.com
Mon Jul 1 07:43:20 UTC 2019


On 2019-06-30 17:47:27 +0000, a11e99z said:

> Private means that only members of the enclosing class can access the 
> member, or
> vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
> members and functions in the same module as the enclosing class.
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> did you take it into account?

Of course not... still to much C++ in my head... Thanks for the 
clarification. I will remember it from now on.

-- 
Robert M. Münch
http://www.saphirion.com
smarter | better | faster



More information about the Digitalmars-d-learn mailing list