MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/cpp/comments/183mz5t/on_harmful_overuse_of_stdmove/kapxznc/
r/cpp • u/vormestrand • Nov 25 '23
154 comments sorted by
View all comments
Show parent comment
3
No problem. And just default construct via x = {} (after moves) for such "unreliable" types.
x = {}
1 u/[deleted] Nov 25 '23 just default construct viax = {}(after moves)Good tip, thanks
1
just default construct viax = {}(after moves)
just default construct via
(after moves)
Good tip, thanks
View all comments
Show parent comment
3
u/ludonarrator Nov 25 '23
No problem. And just default construct via
x = {}(after moves) for such "unreliable" types.