r/cpp • • May 04 '24

Messing with lifetime

https://biowpn.github.io/bioweapon/2024/05/03/messing-with-lifetime.html
45 Upvotes

52 comments sorted by

View all comments

Show parent comment

1

u/TheoreticalDumbass :illuminati: May 04 '24

(youd have to start the lifetimes of subobjects yourself with for example placement new)