MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/cpp/comments/1vnp8dk/c26_stdindirect/p3ofoyy/
r/cpp • u/User_Deprecated • Aug 13 '26
157 comments sorted by
View all comments
Show parent comment
-5
The motivation was not to save space, though?
Of course it is. Aside from pimpl paradigm.. Why else would you anybody even really bother to use this thing unless it is to save space in a class's inherent sizeof()?
5 u/wyrn Aug 14 '26 Why do you ever use unique_ptr (without custom deleter)?
5
Why do you ever use unique_ptr (without custom deleter)?
unique_ptr
View all comments
Show parent comment
-5
u/NilacTheGrim Aug 14 '26
Of course it is. Aside from pimpl paradigm.. Why else would you anybody even really bother to use this thing unless it is to save space in a class's inherent sizeof()?