I usually indent the public:
and private:
access specifiers like this:
class Foo() { private: void Bar1() {} public: void Bar2() {} }
Xcode doesn't seem to like this, however, so I feel like I'm doing something incorrectly. What is considered common practice for indenting private:
and public:
?
"Religious" question :-) You will get many different answers I think.
I say:
Which ever you like as long as you are consistent.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With