| 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 |
nothing calls this directly
no test coverage detected