MCPcopy Create free account
hub / github.com/cameron314/concurrentqueue / deserialize

Function deserialize

benchmarks/dlib/unordered_pair.h:155–169  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

153
154 template <typename T>
155 void deserialize (
156 unordered_pair<T>& item,
157 std::istream& in
158 )
159 {
160 try
161 {
162 T a, b;
163 deserialize(a,in);
164 deserialize(b,in);
165 item = make_unordered_pair(a,b);
166 }
167 catch (serialization_error& e)
168 { throw serialization_error(e.info + "\n while deserializing object of type unordered_pair"); }
169 }
170
171// ----------------------------------------------------------------------------------------
172

Callers

nothing calls this directly

Calls 2

make_unordered_pairFunction · 0.85
serialization_errorClass · 0.85

Tested by

no test coverage detected