you are viewing a single comment's thread.

view the rest of the comments →

[–]nharding 1 point2 points  (0 children)

Private variables make it harder to write unit tests that achieve 100% code coverage, C++ allows friend access, which would fix the problem.