MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/cpp/comments/1cjqjmr/messing_with_lifetime/l2ipaxb/
r/cpp • u/pavel_v • May 04 '24
52 comments sorted by
View all comments
Show parent comment
1
i dont understand implicit lifetime, but i thought start_lifetime_as starts the lifetime of an object without starting the lifetime of subobjects
1 u/TheoreticalDumbass :illuminati: May 04 '24 (youd have to start the lifetimes of subobjects yourself with for example placement new)
(youd have to start the lifetimes of subobjects yourself with for example placement new)
View all comments
Show parent comment
1
u/TheoreticalDumbass :illuminati: May 04 '24
i dont understand implicit lifetime, but i thought start_lifetime_as starts the lifetime of an object without starting the lifetime of subobjects