Hi Norbert,

On Thu, Oct 15, 2015 at 02:45:52PM -0500, Norbert Thiebaud 
<nthieb...@gmail.com> wrote:
> So, following the ESC call, I wondered how true is the stated goal
> that include should be self contained.. iow that you can include any
> of them in whaever order and it should 'work'

I think that idea comes from the following concept: if each class has a
class.hxx for its interface and a class.cxx for its implementation, then
in case class.cxx includes class.hxx as its first include, we get
compile-time verification that the header is self-contained.

An other problem is when a header includes an other header without a
good reason, but we fear to remove that, as adjusting clients would be a
considerable amount of work. See e.g.
6ff2d84ade299cb3d14d4110e4cf1a4b8070c030 for sal/log.hxx and the string
classes.

In any case, thanks for the experiment, now we have numbers that also
say that the current situation is sub-optimal. ;-)

Regards,

Miklos

Attachment: signature.asc
Description: Digital signature

_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to