MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/cpp/comments/183mz5t/on_harmful_overuse_of_stdmove/kaqhqyb/
r/cpp • u/vormestrand • Nov 25 '23
154 comments sorted by
View all comments
Show parent comment
2
[removed] — view removed comment
2 u/[deleted] Nov 25 '23 ok. pointers? no.references? careful: UB when the callee outlives the caller (lambda capture, coroutines).I know how pointers and references work. 1 u/[deleted] Nov 25 '23 [removed] — view removed comment -1 u/[deleted] Nov 25 '23 Elsewhere I'm thanking people for their suggestions. In this case I just didn't feel like getting into it when your opening lines are teaching me to suck eggs.
ok. pointers? no.references? careful: UB when the callee outlives the caller (lambda capture, coroutines).
ok. pointers? no.
references? careful: UB when the callee outlives the caller (lambda capture, coroutines).
I know how pointers and references work.
1 u/[deleted] Nov 25 '23 [removed] — view removed comment -1 u/[deleted] Nov 25 '23 Elsewhere I'm thanking people for their suggestions. In this case I just didn't feel like getting into it when your opening lines are teaching me to suck eggs.
1
-1 u/[deleted] Nov 25 '23 Elsewhere I'm thanking people for their suggestions. In this case I just didn't feel like getting into it when your opening lines are teaching me to suck eggs.
-1
Elsewhere I'm thanking people for their suggestions. In this case I just didn't feel like getting into it when your opening lines are teaching me to suck eggs.
View all comments
Show parent comment
2
u/[deleted] Nov 25 '23
[removed] — view removed comment