Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Analyzer accepts potentially-const expressions in const contructor invocations #36215
Analyzer accepts this:
This should not be accepted: x is not a constant expression. It is merely a potentially constant expression.
Proof by contradiction: