After numerous research on the web, I couldn't figure out if a conversion from int to long is considered as a promotion or not.
If found the following code on the Microsoft's website here :
long long_num1, long_num2;
int int_num;
// int_num promoted to type long prior to assignment.
long_num1 = int_num;
However it's not indicated on the cppreference website.
I understand promotion is a conversion that is value-keeping (doesn't change the value when converting).
Could someone help me figure this out?
Thanks in advance