Commit 2f8ac075 authored by Richard Smith's avatar Richard Smith
Browse files

PR50402: Use proper constant evaluation rules for checking constraint

satisfaction.

Previously we used the rules for constant folding in a non-constant
context, meaning that we'd incorrectly accept foldable non-constant
expressions and that std::is_constant_evaluated() would evaluate to
false.
parent f2c97605
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