Why defining private members below public members in C++?

I do things that way round since users of my class don’t care about the private members, they’re interested in the public API (i.e. how to use my class).

Also, in header files I’m generally just declaring member functions, rather than defining them, so I’m not accessing any private members anyway.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)