On 8/29/19 12:36 PM, Marek Polacek wrote:
We reject this test with errors like
nontype1.C:22:14: error: taking address of rvalue [-fpermissive]
22 | A{}> a2;
| ^~~
that happens because for converting "C{}" to int we generate
"C::operator int (&TARGET_EXPR )".
We reject this test with errors like
nontype1.C:22:14: error: taking address of rvalue [-fpermissive]
22 | A{}> a2;
| ^~~
that happens because for converting "C{}" to int we generate
"C::operator int (&TARGET_EXPR )". The second
template argument is a binary opera