title: C++ Is conversion from int to long a promotion?
body: <p>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.</p>
  <p>If found the following code on the Microsoft's website <a href="https://docs.microsoft.com/en-us/cpp/cpp/standard-conversions?view=msvc-160" rel="nofollow noreferrer">here</a> :</p>
  <pre><code>long  long_num1, long_num2;
  int   int_num;
  
  // int_num promoted to type long prior to assignment.
  long_num1 = int_num;
  </code></pre>
  <p>However it's not indicated on the <a href="https://en.cppreference.com/w/cpp/language/implicit_conversion" rel="nofollow noreferrer">cppreference website</a>.</p>
  <p>I understand promotion is a conversion that is value-keeping (doesn't change the value when converting).</p>
  <p>Could someone help me figure this out?</p>
  <p>Thanks in advance</p>