DirectXShaderCompiler
DirectXShaderCompiler copied to clipboard
integral_constant is exposed to the global namespace in DXC (trunk)
Description
integral_constant is defined in the global namespace in DXC(trunk). The primary template appears to be declared as follows:
template<typename T>
struct integral_constant;
I don't think this type should be defined in the global namespace.
Steps to Reproduce
This should not compile: https://godbolt.org/z/hKxdKhW7e. DXC 1.8.2403 does not compile this code: https://godbolt.org/z/vha9GennT
Environment
- DXC version: trunk
- Host Operating System N/A