Also is

auto z1 = i + u;

auto z2 = u + i;

the same type?
 

-----Ursprüngliche Nachricht-----
Von: Howard Hinnant via Std-Proposals <std-proposals@lists.isocpp.org>
Assume char is 8 bit, short is 16 bit, int is 32 bit
 
signed char i{};
unsigned char u{};
 
auto z = i + u;
 
Possibilities:
 
compile-time error
run-time error
z is signed char
z is unsigned char
z is short
z is unsigned short
z is int
z is unsigned int
 
What is your recommendation?
 
Howard