Boost logo

Boost :

Subject: Re: [boost] coding conventions
From: Christopher Jefferson (chris_at_[hidden])
Date: 2010-01-06 04:59:20

On 6 Jan 2010, at 00:52, OvermindDL1 wrote:
> 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.

The biggest problem with such tools is that they break diffing, so they would break the connection between release and trunk, between version before and after the reformat, and also break any patches any users keep (I myself keep a few patches on my local version which usually apply without problem to the next version, but I'm sure wouldn't apply after such a reformat).

I would also be shocked if any such tool worked well on the complex C++ code stored in boost. I have not been a tool which formats my own C++ code well, as most tools work by simple regexps, whereas C++ requires much more context.


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