Skip to content

integral_constant is exposed to the global namespace in DXC (trunk) #6646

@KStocky

Description

@KStocky

Description
integral_constant is defined in the global namespace in DXC(1.8.2405.17). 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: 1.8.2405.17
  • Host Operating System N/A

Metadata

Metadata

Assignees

Labels

bugBug, regression, crash

Type

No type

Projects

Status

Triaged

Relationships

None yet

Development

No branches or pull requests

Issue actions