1

source link. The question is that I don't understand what is going in the for loop here.

for(long n = 0; n != 1'000'000; ++n) l.push(n);

Is n != 1'000'000 equivalent to n != 1000000?

πάντα ῥεῖ
  • 1
  • 13
  • 116
  • 190
Silver Flash
  • 871
  • 3
  • 7
  • 16
  • 6
    Since C++14, single-quotes can be used to specify commas in a number. So, the answer to your question is yes. – Telescope Nov 22 '20 at 23:55

0 Answers0