Closed danakj closed 1 year ago
To prevent usize a = prim + prim which could overflow in the primitives?
usize a = prim + prim
Nope: https://godbolt.org/z/4xTGao56z
Both i = a + a and j = 2 bind to the rvalue constructor.
i = a + a
j = 2
To prevent
usize a = prim + prim
which could overflow in the primitives?