25 Nov
2018
25 Nov
'18
2:14 a.m.
On 11/24/18 3:11 PM, Emil Dotchevski via Boost wrote:
On Sat, Nov 24, 2018 at 11:18 AM Robert Ramey via Boost <
In C and C++ operands are not promoted to the same type. If you have:
short x, y;
the type of the expression x+y is not short, it is int.
Right. They are both promototed to the same type. That type is int.
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost