In this code:
class X { ... serialize(...) ... }; void f() { X x; ifstream ifs(...); boost::archive::binary_iarchive ia(ifs); ia >> x; }
Why does X have to be copyable, not just movable?
X
Aucun commentaire:
Enregistrer un commentaire