
16 Apr
2011
16 Apr
'11
1:02 a.m.
Hi, Thanks for your email.
You are looking for a "rope". Some have been proposed here but none reviewed. Original SGI STL has one.
The GNU extension has one too I found, but it looks like not action there for years and very limited documentation. Moreover, a rope seems a bit overkill for my application as my data stream only concatenates new incoming byte buffers and is read-only. Also, I need to have control over pointer-to-buffer ownerships by using smart pointers and the GNU extension seems not to be templated. Well, I am going for my own implementation... Cheers, Andrej