| 178 | typename T |
| 179 | > |
| 180 | void serialize ( |
| 181 | const circular_buffer<T>& item, |
| 182 | std::ostream& out |
| 183 | ) |
| 184 | { |
| 185 | try |
| 186 | { |
| 187 | serialize(item.size(),out); |
| 188 | for (unsigned long i = 0; i < item.size(); ++i) |
| 189 | serialize(item[i],out); |
| 190 | } |
| 191 | catch (serialization_error& e) |
| 192 | { |
| 193 | throw serialization_error(e.info + "\n while serializing object of type circular_buffer"); |
| 194 | } |
| 195 | |
| 196 | } |
| 197 | |
| 198 | // ---------------------------------------------------------------------------------------- |
| 199 |
nothing calls this directly
no test coverage detected