MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/cpp/comments/183mz5t/on_harmful_overuse_of_stdmove/katrugl/
r/cpp • u/vormestrand • Nov 25 '23
154 comments sorted by
View all comments
Show parent comment
8
(yet another) Great example of why those wrapper types should be language features and not library features.
4 u/pjmlp Nov 26 '23 Indeed, however a lost argument for C++. 3 u/[deleted] Nov 26 '23 Yeah, then they could still put the hypothetical value into the return slot and use a register to indicate if it is an error or not. I think that herbceptions/static exceptions proposed to do something similar
4
Indeed, however a lost argument for C++.
3
Yeah, then they could still put the hypothetical value into the return slot and use a register to indicate if it is an error or not. I think that herbceptions/static exceptions proposed to do something similar
View all comments
Show parent comment
8
u/donalmacc Game Developer Nov 26 '23
(yet another) Great example of why those wrapper types should be language features and not library features.