0

Why all classes are move constructible

Hi Refer code below : Why all these classes are move constructible ? https://code.sololearn.com/c9v2UHt8WUN4/?ref=app

14th Dec 2022, 11:40 AM
Ketan Lalcheta
Ketan Lalcheta - avatar
2 Respostas
+ 2
According to : https://en.cppreference.com/w/cpp/types/is_move_constructible "Types without a move constructor, but with a copy constructor that accepts const T& arguments, satisfy std::is_move_constructible."
14th Dec 2022, 12:32 PM
Arsenic
Arsenic - avatar
+ 1
Thanks
14th Dec 2022, 2:40 PM
Ketan Lalcheta
Ketan Lalcheta - avatar