This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: mix of tabs and spaces on indentation


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.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]