Small typo here: "If we try to define rvalue references in contrast with lvaule references"
// rvr1 is rvalue reference --> do you mean rvrt?
// rvr1 is rvalue reference
rvrt
Thanks for the article. I have almost no use cases of move semantics in my projects so const&& are still quite esoteric for me ^^
const&&
Thanks a lot, Pierre! I just fixed it.
Indeed, I haven't seen it in our codebase either. At least, in standard library it is used :)
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Small typo here: "If we try to define rvalue references in contrast with lvaule references"
// rvr1 is rvalue reference
--> do you meanrvrt
?Thanks for the article. I have almost no use cases of move semantics in my projects so
const&&
are still quite esoteric for me ^^Thanks a lot, Pierre! I just fixed it.
Indeed, I haven't seen it in our codebase either. At least, in standard library it is used :)