mercredi 31 août 2016

what is the difference between emplace and insert in vector C++?

Although there are posts related to the same questions I could not find satisfactory answer of whats the exact difference between insert and emplace since I feel both do similar things except for emplace which cannot fill the range of elements into a vector. Can someone explain me if there are anymore differences?

Aucun commentaire:

Enregistrer un commentaire