]> git.llucax.com Git - software/posixx.git/commit
Generalize basic_buffer's value_type
authorLeandro Lucarella <llucarella@integratech.com.ar>
Mon, 1 Dec 2008 19:01:55 +0000 (17:01 -0200)
committerLeandro Lucarella <llucarella@integratech.com.ar>
Wed, 3 Dec 2008 19:59:30 +0000 (17:59 -0200)
commit25e37c946dfa92e9a3676a022177afef06588a01
treef68ee4eacbb805adae917ff9c8dbac863a622336
parente0bc5811a3c9726cc5b2dc804a7e8915c39d3dbd
Generalize basic_buffer's value_type

Now the basic_buffer has a new template parameter to choose the type to
use as value_type (i.e. the type of the elements stored in the array).

Note that only POD types are supported, since no constructors or
destructors get called.
src/basic_buffer.hpp
src/buffer.hpp