Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enforce consistent standards for include order #6

Open
mposs00 opened this issue Jan 6, 2025 · 0 comments
Open

Enforce consistent standards for include order #6

mposs00 opened this issue Jan 6, 2025 · 0 comments

Comments

@mposs00
Copy link
Collaborator

mposs00 commented Jan 6, 2025

I believe the current proposal is:

#pragma once
Source header (i.e. Class.cpp's include of Class.h)
Project headers/internal API
Third-party library headers
Framework headers (not applicable here)
OS-specific includes (hopefully rarely applicable here outside of ifdefs)
STL includes

Someone needs to go through the existing source and header files and enforce this. We should also look into ways to incorporate this as a static check.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant