General statistics
List of Youtube channels
Youtube commenter search
Distinguished comments
About
Anony Mousse
Low Level
comments
Comments by "Anony Mousse" (@anon_y_mousse) on "what even is a "reference"?" video.
It's an r-value reference.
2
@abuk95 The &&var is an r-value reference. It's used for std::move() semantics so that it doesn't cause an unnecessary construction or allocation.
2
I think it was when I first learned about r-value references that I really started to hate C++. I was rather indifferent to it before that, but that, that is what made me hate it.
2