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

quoted form of #include when GSL includes GSL files #1030

Merged
merged 1 commit into from
Jan 31, 2022

Conversation

beinhaerter
Copy link
Contributor

SF.12: Prefer the quoted form of #include for files relative to the including file and the angle bracket form everywhere else

Additionally changed #include order in span so that all span_ext is in the GSL include block and not in the STL include block.

Fixes issues #1025.

[SF.12: Prefer the quoted form of #include for files relative to the including file and the angle bracket form everywhere else](https://github.com/isocpp/CppCoreGuidelines/blob/master/CppCoreGuidelines.md#Rs-incform)

Additionally changed #include order in `span` so that all `span_ext` is in the GSL include block and not in the STL include block.

Fixes issues microsoft#1025.
Copy link
Member

@dmitrykobets-msft dmitrykobets-msft left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @beinhaerter, looks good

@dmitrykobets-msft dmitrykobets-msft merged commit 4377f6e into microsoft:main Jan 31, 2022
@beinhaerter beinhaerter deleted the issue1025 branch January 31, 2022 21:48
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

Successfully merging this pull request may close these issues.

None yet

2 participants