https://bugs.llvm.org/show_bug.cgi?id=45219

hst...@ca.ibm.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |hst...@ca.ibm.com
         Resolution|---                         |INVALID

--- Comment #1 from hst...@ca.ibm.com ---
Please explain your reasoning.

int::operator int
is an invalid expression resulting from substitution, which means that the
constraint is not satisfied.

[temp.constr.atomic] paragraph 3 requires a constant expression of type bool
only after substitution results in an otherwise valid expression.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to