Блог пользователя bully....maguire

Автор bully....maguire, история, 4 года назад, По-английски

Is there any performance difference between emplace and push ? Also according to stack overflow Link push stores copy of existing instance . Does that mean suppose i make a instance variable 'd' of class say Demo .If i push into stack then another variable pointing to same instance is pushed back or new copy of instance of 'd' is made and pushed back ?

  • Проголосовать: нравится
  • -25
  • Проголосовать: не нравится