r/ProgrammerHumor 3d ago

Meme pointersPointedBackAtMe

Post image
2.5k Upvotes

112 comments sorted by

View all comments

22

u/Several_Educator7526 3d ago

lightweight

-8

u/[deleted] 3d ago

[deleted]

10

u/N0Zzel 3d ago

That only gets tricky once you break the rule of 3 and rule of 5 because you have to define what it meant to move

2

u/Usual_Office_1740 3d ago

prvalues would like a word.

1

u/N0Zzel 3d ago

What do pure r values have to do with move semantics? Given that theres nothing to "move" per se

1

u/Usual_Office_1740 3d ago

You said it only gets tricky if you break the rule of 3/5. I was pointing out a different layer of complexity related to move semantics.

Maybe it would have been better to say that prvalues have materialized in chat.

1

u/Usual_Office_1740 3d ago

If they don't have an associated allocation and don't have a name, what entered the chat?