TGViewer
this->notes. this->notes. @thisnotes · 4.51K subscribers
Post #42 355
#cpp #poll
Предположим, имеем такой код:

int x(1);
new(&x) int(5);

Вызывает ли этот код undefined behaviour?
(можно пояснить свой ответ в комментариях 🙂 )
Ответ выложу завтра.
More from @thisnotes
  1. Sep 25, 2026Спасибо большое!
  2. Sep 25, 2026Post #525
  3. Sep 25, 2026Post #524
  4. Sep 25, 2026Post #523
  5. Sep 25, 2026Post #522
  6. Sep 25, 2026Post #521
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →