| 304 | |
| 305 | template <typename T, typename alloc> |
| 306 | void deserialize ( |
| 307 | std_vector_c<T, alloc>& item, |
| 308 | std::istream& in |
| 309 | ) |
| 310 | { |
| 311 | try |
| 312 | { |
| 313 | unsigned long size; |
| 314 | deserialize(size,in); |
| 315 | item.resize(size); |
| 316 | for (unsigned long i = 0; i < size; ++i) |
| 317 | deserialize(item[i],in); |
| 318 | } |
| 319 | catch (serialization_error& e) |
| 320 | { throw serialization_error(e.info + "\n while deserializing object of type std_vector_c"); } |
| 321 | } |
| 322 | |
| 323 | // ---------------------------------------------------------------------------------------- |
| 324 |
nothing calls this directly
no test coverage detected