| 161 | |
| 162 | template <typename T> |
| 163 | void deserialize ( |
| 164 | unordered_pair<T>& item, |
| 165 | std::istream& in |
| 166 | ) |
| 167 | { |
| 168 | try |
| 169 | { |
| 170 | T a, b; |
| 171 | deserialize(a,in); |
| 172 | deserialize(b,in); |
| 173 | item = make_unordered_pair(a,b); |
| 174 | } |
| 175 | catch (serialization_error& e) |
| 176 | { throw serialization_error(e.info + "\n while deserializing object of type unordered_pair"); } |
| 177 | } |
| 178 | |
| 179 | // ---------------------------------------------------------------------------------------- |
| 180 |
nothing calls this directly
no test coverage detected