| 516 | typename compare |
| 517 | > |
| 518 | void deserialize ( |
| 519 | binary_search_tree_kernel_1<domain,range,mem_manager,compare>& item, |
| 520 | std::istream& in |
| 521 | ) |
| 522 | { |
| 523 | try |
| 524 | { |
| 525 | item.clear(); |
| 526 | unsigned long size; |
| 527 | deserialize(size,in); |
| 528 | domain d; |
| 529 | range r; |
| 530 | for (unsigned long i = 0; i < size; ++i) |
| 531 | { |
| 532 | deserialize(d,in); |
| 533 | deserialize(r,in); |
| 534 | item.add(d,r); |
| 535 | } |
| 536 | } |
| 537 | catch (serialization_error& e) |
| 538 | { |
| 539 | item.clear(); |
| 540 | throw serialization_error(e.info + "\n while deserializing object of type binary_search_tree_kernel_1"); |
| 541 | } |
| 542 | } |
| 543 | |
| 544 | |
| 545 |
nothing calls this directly
no test coverage detected