logo       

Re: In the Works: New OOo C++ Coding Standards: msg#00140

openoffice.devel.general

Subject: Re: In the Works: New OOo C++ Coding Standards

Thorsten Behrens wrote:
Hi Kai,

you wrote:
So my summary is that you should only #include superclass and data
member definitions in a header file. Anything I'm missing?

Nope, right to the point. And thanks for adding that to the wiki
explanation page!

BTW, and referring to external header guards: while I'm generally with
you regarding the degradation in readability (and increase in
coupling), are you really sure that all compilers we've in use
properly detect that case, and refrain from opening and parsing the
same header file multiple times?

When I checked a couple of years back, it was already makedepend that did not implement the optimization (so I did not bother to check the compilers). I do not have any performance numbers, though.

-Stephan


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise