Florian
06/19/2019, 7:57 PMtseisel
06/19/2019, 8:00 PMa++
is an expression whose result is a
, then a
is assigned a + 1
.
a +=1
is a statement. Just like an assignement, it does not return an expression and therefore is not assignable.
Only expressions are allowed in string templates.Florian
06/19/2019, 8:01 PM