| 773 | |
| 774 | template<bool is_const> |
| 775 | void buffer::list::iterator_impl<is_const>::copy_deep(unsigned len, ptr &dest) |
| 776 | { |
| 777 | if (!len) { |
| 778 | return; |
| 779 | } |
| 780 | if (p == ls->end()) |
| 781 | throw end_of_buffer(); |
| 782 | dest = create(len); |
| 783 | copy(len, dest.c_str()); |
| 784 | } |
| 785 | template<bool is_const> |
| 786 | void buffer::list::iterator_impl<is_const>::copy_shallow(unsigned len, |
| 787 | ptr &dest) |