Magnus Fromreide <ma...@lysator.liu.se> writes:
> Two spaces for members is common practice with GNU, and it seems to be
> used for libstdc++.
>
> One space for protection labels is not something I have heard of before
> and libstdc++ uses no indentation for them.
>
> A freshly started emacs also doesn't indent access labels.

Yeah, zero indentation (or rather, "aligned with the surrounding brace
level", e.g. for nested structures/classes) is certainly the defacto
GNU standard for C++ "access labels" (private:, etc).

There seems no reason for GCC to be different.

-miles

-- 
Quotation, n. The act of repeating erroneously the words of another. The words
erroneously repeated.

Reply via email to