Skip to content

Add proposal to adopt C++11 as the base language#314

Merged
llvm-beanz merged 3 commits into
microsoft:mainfrom
llvm-beanz:cbieneman/cxx11
Sep 18, 2024
Merged

Add proposal to adopt C++11 as the base language#314
llvm-beanz merged 3 commits into
microsoft:mainfrom
llvm-beanz:cbieneman/cxx11

Conversation

@llvm-beanz
Copy link
Copy Markdown
Collaborator

This proposal is for HLSL 202y to adopt C++ 11 as its base C++ language version and encorporate as many of C++ 11's features as reasonably fit within HLSL's language design.

This proposal is for HLSL 202y to adopt C++ 11 as its base C++ language
version and encorporate as many of C++ 11's features as reasonably fit
within HLSL's language design.
Comment thread proposals/NNNN-cxx11-base.md
Copy link
Copy Markdown
Member

@damyanp damyanp left a comment

Choose a reason for hiding this comment

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

Sounds great to me!

Some nits in the comments around consistency between C++ 2021 vs C++11 vs C++ 11. I started calling them out but realized that there's quite a few (including some C++20s and you might not necessarily agree with me on which way you want to standardize, if at all.

Comment thread proposals/NNNN-cxx11-base.md Outdated
Comment thread proposals/NNNN-cxx11-base.md Outdated
Comment thread proposals/NNNN-cxx11-base.md Outdated
Comment thread proposals/NNNN-cxx11-base.md
@damyanp damyanp changed the title Add proposal to adopt C++11 as the base lanaguage Add proposal to adopt C++11 as the base language Sep 16, 2024
@llvm-beanz
Copy link
Copy Markdown
Collaborator Author

Some nits in the comments around consistency between C++ 2021 vs C++11 vs C++ 11.

Consistency is good. I think the normalized spelling for C++ versions is "C++NN" (no space). Are you okay with me doing a pass to normalize that way?

@damyanp
Copy link
Copy Markdown
Member

damyanp commented Sep 18, 2024

Are you okay with me doing a pass to normalize that way?

Absolutely - I have no real preference other than that we're consistent!

@llvm-beanz
Copy link
Copy Markdown
Collaborator Author

Assigned this proposal number 23

@llvm-beanz llvm-beanz merged commit 6aff17f into microsoft:main Sep 18, 2024
llvm-beanz added a commit to llvm-beanz/hlsl-specs that referenced this pull request Feb 9, 2025
This proposal is for HLSL 202y to adopt C++ 11 as its base C++ language
version and encorporate as many of C++ 11's features as reasonably fit
within HLSL's language design.
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.

3 participants