RS> My question is, if the data is private
RS> and it is at the top, before any access specifiers, why
RS> would you place a private tag before it, when the access
RS> is already private by default?
Leading off the class definition with 'private' is certainly
useless in the added functionality department. But even if
you lead off your class with private stuff, I think it's a good
idea to have the private label.
For one thing, it's much more common for a class to be layed out
with public members first. If you are going to be different,
it's probably a good idea to make it as explicit as possible
that you are doing it differently.
---
þ Blue Wave/QWK v2.12 þ
---------------
* Origin: St. Louis Users Group (1:100/4)
|