I’ve been looking into some of the new features of C++11 and one I’ve noticed is the double ampersand in declaring variables, like T&& var
.
For a start, what is this beast called? I wish Google would allow us to search for punctuation like this.
What exactly does it mean?
At first glance, it appears to be a double reference (like the C-style double pointers T** var
), but I’m having a hard time thinking of a use case for that.