Login
From:
blog.m-ou.se
(Uncensored)
subscribe
C++11: Rvalue references for *this - Mara's Blog
https://blog.m-ou.se/rvalue-references-for-this/
links
backlinks
Roast topics
Find topics
Find it!
Recently, gcc added support rvalue references for *this. (Clang has supported it for quite a while now.) In this post, I show how to use this feature, and how it means we can finally define accessors and a few other things like operator= correctly.