microsoft / hlsl-specs

HLSL Specifications
MIT License
125 stars 34 forks source link

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

Closed llvm-beanz closed 2 months ago

llvm-beanz commented 2 months ago

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.

llvm-beanz commented 2 months ago

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 commented 2 months ago

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 commented 2 months ago

Assigned this proposal number 23