Boost logo

Boost :

Subject: Re: [boost] coding conventions
From: OvermindDL1 (overminddl1_at_[hidden])
Date: 2010-01-05 19:52:19

On Tue, Jan 5, 2010 at 8:27 AM, Paul A. Bristow <pbristow_at_[hidden]> wrote:
>> -----Original Message-----
>> From: boost-bounces_at_[hidden] [mailto:boost-bounces_at_[hidden]] On
> Behalf Of
>> Mathias Gaunard
>> Sent: Monday, January 04, 2010 7:52 PM
>> To: boost_at_[hidden]
>> Subject: Re: [boost] coding conventions
>> Rob Riggs wrote:
>> > I personally prefer 4 spaces, but that is more a compromise with the
>> > additional block levels in C++ compared with C (namespace, class, method).
>> I wouldn't recommend indenting things within namespaces, unless the
>> content is very short.
>> Certain libraries have 4 levels of namespace nesting.
> Ah well yes - an argument for 2 space indents ;-)
> Paul
> PS Help! - moderators needed to prevent this becoming a bike shed issue?
> I think it is clear we can't get a consensus.
> As the Irishman said when asked directions "I wouldn't start from here."
> If tabs had been used throughout, we could have let users decide their own
> indent, but we missed that opportunity, for what seemed like good reasons at the
> time.
> So we have to muddle along not really pleasing anyone, but not making anyone
> *terminally* unhappy.

There are things we can run on the source that reformats it all to
proper guidelines, including setting tabs, moving braces where
necessary, so forth, could always use one of those over the entire
Boost library.

Boost list run by bdawes at, gregod at, cpdaniel at, john at