Is move contructor autogenerated ???
cppreference documentation
Types without a move constructor, but with a copy constructor that accepts const T& arguments, satisfy std::is_move_constructible
class X{
public:
~X()=default;
};
So i want to know if std::is_move_constructible::value is true because X genuinely has a default move constructor, not because it has a default a copy constructor?
Aucun commentaire:
Enregistrer un commentaire