What is move constructor in C ++ 11?

final (C++11) [edit] A move constructor of class T is a non-template constructor whose first parameter is T&& , const T&&, volatile T&&, or const volatile T&&, and either there are no other parameters, or the rest of the parameters all have default values.

Sizin İçin Seçtik  How do you call a constructor function?

Leave a Reply

Your email address will not be published. Required fields are marked *