[bind10-dev] style for #include <file> versus #include "file"
shane at isc.org
Mon Feb 22 11:05:30 UTC 2010
On Fri, 2010-02-19 at 14:39 -0600, Jeremy C. Reed wrote:
> We have a mix of #include <file> versus #include "file". I don't see
> this defined in our CodingGuidelines style guide. I suggest we only use
> quoted "file" if the actual code is within the same individual component
> source tree. The fall back to -I added paths will still work with
> quoted includes but at least you recognize as a code reader quickly that
> the referenced headers are part of this individual component.
> Examples of what we have now:
> #include "buffer.h"
> #include "dns/buffer.h"
> #include <dns/buffer.h>
I agree with using "quotes" when possible. Should we add this to the C++
More information about the bind10-dev