From: Leandro Lucarella Date: Wed, 8 Oct 2008 16:40:50 +0000 (-0300) Subject: Add posix::basic_buffer template and posix::buffer class X-Git-Url: https://git.llucax.com/software/posixx.git/commitdiff_plain/5cc37d5e30b015c36f850c0d49a7da35c925c321?hp=5cc37d5e30b015c36f850c0d49a7da35c925c321 Add posix::basic_buffer template and posix::buffer class posixx::basic_buffer provides easy to use, STL-container-lke and exception-safe class to manipulate buffers. It's a pseudo-static array (you can resize it but you can't append or insert/remove arbitrary elements). It's parametrized to support different kinds of allocators (not in the STL-sense, it uses a realloc-like function). posix::buffer is just a posix::basic_buffer< &realloc >. ---