24 static boost::python::tuple getinitargs(
const VecType &)
26 return boost::python::make_tuple();
29 static boost::python::tuple getstate(boost::python::object op)
31 return boost::python::make_tuple(
32 boost::python::list(boost::python::extract<const VecType &>(op)()));
35 static void setstate(boost::python::object op, boost::python::tuple
tup)
37 if (boost::python::len(
tup) > 0)
39 VecType &
o = boost::python::extract<VecType &>(op)();
40 boost::python::stl_input_iterator<typename VecType::value_type>
begin(
tup[0]),
end;
49 static bool getstate_manages_dict()