Boost logo

Boost :

From: Tobias Schwinger (tschwinger_at_[hidden])
Date: 2006-12-20 02:54:12


Sean Huang wrote:
> ----- Original Message -----
> From: "Tobias Schwinger" <tschwinger_at_[hidden]>
>
>
>>Sean Huang wrote:
>>
>>>vector200.hpp contains lines with more than 8000 characters. This causes
>>>problems when the file is added to IBM Rational ClearCase which has an
>>>8000-character upper limit for text files. The workaround is to check it
>>>in
>>>as a binary file but this eliminates the possibility of future merges. Is
>>>it
>>>possible to make the lines shorter?
>>
>>Not easily - it's preprocessor generated code. Running some kind of code
>>beautifier
>>on it might work (meant as a user-side solution).
>
> Thanks for the explanation.
>
> I am curious why the author(s) did not leave the preprocessor directives in
> place. Not willing to introduce dependencies on boost.preprocessor?

It was me (not being an author of that library) who contributed that part (that's why I replied). It's an optimization that speeds up preprocessing by about factor 10.

Regards,

Tobias


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk