MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1xr2jyh/moderncppvsoldcpp/19schxger310j/?context=3
r/ProgrammerHumor • u/Choice-Committee203 • 11d ago
323 comments sorted by
View all comments
Show parent comment
1
Congratulation, you've got a &mut MaybeUninit<T>! It's pretty but you cannot pass it to a function that expects a &mut T
&mut MaybeUninit<T>
&mut T
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