| 464 | typename compare |
| 465 | > |
| 466 | void deserialize ( |
| 467 | binary_search_tree_kernel_2<domain,range,mem_manager,compare>& item, |
| 468 | std::istream& in |
| 469 | ) |
| 470 | { |
| 471 | try |
| 472 | { |
| 473 | item.clear(); |
| 474 | unsigned long size; |
| 475 | deserialize(size,in); |
| 476 | domain d; |
| 477 | range r; |
| 478 | for (unsigned long i = 0; i < size; ++i) |
| 479 | { |
| 480 | deserialize(d,in); |
| 481 | deserialize(r,in); |
| 482 | item.add(d,r); |
| 483 | } |
| 484 | } |
| 485 | catch (serialization_error& e) |
| 486 | { |
| 487 | item.clear(); |
| 488 | throw serialization_error(e.info + "\n while deserializing object of type binary_search_tree_kernel_2"); |
| 489 | } |
| 490 | } |
| 491 | |
| 492 | |
| 493 |
nothing calls this directly
no test coverage detected