Style of #include statements
#542
yschroeder97
started this conversation in
General
Replies: 1 comment
-
|
For the order, I do not care. Question is what is the difference between related and project headers?
Before we do this, we should have a discussion on how to make sure that not everything gets included from anywhere in our system. One reason we went with |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
To get a quick overview of what headers are included (and therefore what symbols from other files are used) we could follow a more structured approach like the one from google.
They structure includes the following way for a
file.cpp:We could incorporate the style into
.clang-formatand apply the style automatically.Beta Was this translation helpful? Give feedback.
All reactions