mix of tabs and spaces on indentation

François Dumont frs.dumont@gmail.com
Thu Feb 16 20:47:00 GMT 2012


Hi

     I was also surprised when I start working on libstdc++ but yes 
there are tabs in sources. As long as you configure your editor to have 
8 spaces for tabs you will read the sources correctly indented. I guess 
it is a small performance gain when sources are parsed, it is faster to 
skip 1 tab than 8 spaces.

François

On 02/15/2012 06:37 PM, Pedro Larroy wrote:
> Hi
>
> I was wondering if there's any good reason why there's a mix of tabs
> and spaces in the stl headers.
>
> Regards.
>
> Pedro.
>



More information about the Libstdc++ mailing list