MCPcopy Create free account
hub / github.com/davisking/dlib / deserialize

Method deserialize

dlib/tuple/tuple.h:376–389  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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,

Callers

nothing calls this directly

Calls 3

tuple_deserializeClass · 0.85
serialization_errorClass · 0.85
for_eachMethod · 0.80

Tested by

no test coverage detected