MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/cpp/comments/1vnp8dk/c26_stdindirect/p3o5uxq/?context=3
r/cpp • u/User_Deprecated • Aug 13 '26
157 comments sorted by
View all comments
Show parent comment
6
That's the whole point: indirect adopts value semantics, not pointer semantics. It's not some kind of confusion, just that you can't achieve value semantics without explicit workarounds when using a pointer (including the STL's smart pointers).
View all comments
Show parent comment
6
u/TSP-FriendlyFire Aug 14 '26
That's the whole point: indirect adopts value semantics, not pointer semantics. It's not some kind of confusion, just that you can't achieve value semantics without explicit workarounds when using a pointer (including the STL's smart pointers).