| 238 | typename mem_manager |
| 239 | > |
| 240 | void serialize ( |
| 241 | const array<T,mem_manager>& item, |
| 242 | std::ostream& out |
| 243 | ) |
| 244 | { |
| 245 | try |
| 246 | { |
| 247 | serialize(item.max_size(),out); |
| 248 | serialize(item.size(),out); |
| 249 | |
| 250 | for (size_t i = 0; i < item.size(); ++i) |
| 251 | serialize(item[i],out); |
| 252 | } |
| 253 | catch (serialization_error& e) |
| 254 | { |
| 255 | throw serialization_error(e.info + "\n while serializing object of type array"); |
| 256 | } |
| 257 | } |
| 258 | |
| 259 | template < |
| 260 | typename T, |
nothing calls this directly
no test coverage detected