[C++-sig] Re: Making buffer objects using Boost
dave at boost-consulting.com
Wed Jul 14 21:15:11 CEST 2004
Itamar Shtull-Trauring <itamar at itamarst.org> writes:
> I'd like to create a Python type with Boost that acts like a buffer
> object (http://www.python.org/doc/current/api/buffer-structs.html). The
> reason I'm not just using strings or arrays is that I want to allow
> custom deallocation strategies for the char* that is being wrapped (I'm
> working on Twisted C++ integration - network protocols that will be
> calling something like Transport::write(Deallocator d, char* buf, size_t
> Does Boost have the hooks for this?
Not yet, sorry.
More information about the Cplusplus-sig