]> git.llucax.com Git - software/posixx.git/commitdiff
Add posix::basic_buffer template and posix::buffer class
authorLeandro Lucarella <llucarella@integratech.com.ar>
Wed, 8 Oct 2008 16:40:50 +0000 (13:40 -0300)
committerLeandro Lucarella <llucarella@integratech.com.ar>
Wed, 8 Oct 2008 19:03:46 +0000 (16:03 -0300)
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 >.


No differences found