| 374 | } |
| 375 | |
| 376 | inline friend void deserialize ( |
| 377 | tuple& item, |
| 378 | std::istream& in |
| 379 | ) |
| 380 | { |
| 381 | try |
| 382 | { |
| 383 | item.for_each(tuple_helpers::tuple_deserialize(in)); |
| 384 | } |
| 385 | catch (serialization_error& e) |
| 386 | { |
| 387 | throw serialization_error(e.info + "\n while deserializing an object of type dlib::tuple<>"); |
| 388 | } |
| 389 | } |
| 390 | |
| 391 | inline friend void swap ( |
| 392 | tuple& a, |
nothing calls this directly
no test coverage detected