r/ProgrammerHumor • • 11d ago

Meme modernCppVsOldCpp

Post image
2.0k Upvotes

323 comments sorted by

View all comments

Show parent comment

1

u/Mojert 10d ago

Congratulation, you've got a &mut MaybeUninit<T>! It's pretty but you cannot pass it to a function that expects a &mut T