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

Function serialize

dlib/unordered_pair.h:148–160  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

146
147 template <typename T>
148 void serialize (
149 const unordered_pair<T>& item,
150 std::ostream& out
151 )
152 {
153 try
154 {
155 serialize(item.first,out);
156 serialize(item.second,out);
157 }
158 catch (serialization_error& e)
159 { throw serialization_error(e.info + "\n while serializing object of type unordered_pair"); }
160 }
161
162 template <typename T>
163 void deserialize (

Callers

nothing calls this directly

Calls 1

serialization_errorClass · 0.85

Tested by

no test coverage detected