Commit 04cb6b5e authored by Richard Smith's avatar Richard Smith Committed by Tom Stellard
Browse files

PR48587: is_constant_evaluated() should not evaluate to true during a

variable's destruction if it didn't do so during construction.

The standard doesn't give any guidance as to what to do here, but this
approach seems reasonable and conservative, and has been proposed to the
standard committee.

(cherry picked from commit c945dc4a)
parent 6604c305
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment