0

Possible Duplicate:
Double Address Operator? (&&)

In the reference for the vector class: http://www.cplusplus.com/reference/vector/vector/vector/ I just noticed a strange syntax with two ampersands after the type name, e.g. in the constructor:

vector (vector&& x);

what does it mean and how does it work?

Community
  • 1
  • 1
Grzenio
  • 35,875
  • 47
  • 158
  • 240

0 Answers0