I was looking through some open source code and found a class declaration like this:
class Foo{
private:
// declarations
private:
// declarations
private:
// declarations
public:
// declarations
};
Is there any time you would want to do such a thing, except to remind you of the members' privacy when having a very long list of declarations?