]> git.llucax.com Git - software/posixx.git/blob - src/buffer.hpp
Use std namespace for size_t and ptrdiff_t
[software/posixx.git] / src / buffer.hpp
1 #ifndef POSIXX_BUFFER_HPP_
2 #define POSIXX_BUFFER_HPP_
3
4 #include "basic_buffer.hpp" // posixx::basic_buffer
5
6 #include <cstdlib> // std::realloc()
7
8 namespace posixx {
9
10 /// A buffer that uses realloc(3) for memory management.
11 typedef basic_buffer< &std::realloc > buffer;
12
13 } // namespace posixx
14
15 #endif // POSIXX_BUFFER_HPP_