| 359 | |
| 360 | |
| 361 | inline friend void serialize ( |
| 362 | tuple& item, |
| 363 | std::ostream& out |
| 364 | ) |
| 365 | { |
| 366 | try |
| 367 | { |
| 368 | item.for_each(tuple_helpers::tuple_serialize(out)); |
| 369 | } |
| 370 | catch (serialization_error& e) |
| 371 | { |
| 372 | throw serialization_error(e.info + "\n while serializing an object of type dlib::tuple<>"); |
| 373 | } |
| 374 | } |
| 375 | |
| 376 | inline friend void deserialize ( |
| 377 | tuple& item, |
nothing calls this directly
no test coverage detected