Since std::move is introduced after C++11, boost::scoped_ptr is not movable.
By replacing it by std::unique_ptr, some of the ecell4 classes, such as BDWorld, will also be movable.
Additionally, by applying this change, World classes that contains ParticleSpace* will be able to be constructed from a unique_ptr to a ParticleSpace to change the ParticleSpace implementation at runtime.
Since
std::move
is introduced after C++11,boost::scoped_ptr
is not movable.By replacing it by
std::unique_ptr
, some of the ecell4 classes, such asBDWorld
, will also be movable. Additionally, by applying this change,World
classes that containsParticleSpace*
will be able to be constructed from aunique_ptr
to aParticleSpace
to change theParticleSpace
implementation at runtime.