Asliddin2010's blog

By Asliddin2010, history, 2 days ago, In English

// syntax for inserting elements in set using iterator range

s.insert(v.begin(), v.end());

for (int x : s) {
    cout << x << " ";
}
// Output: 10 20 30

return 0;

}

  • Vote: I like it
  • 0
  • Vote: I do not like it

»
2 days ago, # |
  Vote: I like it 0 Vote: I do not like it

Auto comment: topic has been updated by Asliddin2010 (previous revision, new revision, compare).