#include <cstdlib>#include <cstring>#include <utility>#include "staticlib/config.hpp"#include "staticlib/support.hpp"#include "staticlib/io/io_exception.hpp"#include "staticlib/io/span.hpp"Go to the source code of this file.
Classes | |
| class | staticlib::io::array_sink< AllocFun, FreeFun > |
| Growing heap array, that can release underlying buffer. More... | |
Namespaces | |
| namespace | staticlib |
| namespace | staticlib::io |
| namespace | staticlib::io::detail_array_sink |
Functions | |
| char * | staticlib::io::detail_array_sink::default_alloc (int size_bytes) |
| void | staticlib::io::detail_array_sink::default_free (char *buffer) |
| template<typename AllocFun , typename FreeFun > | |
| array_sink< AllocFun, FreeFun > | staticlib::io::make_array_sink (AllocFun alloc_fun, FreeFun free_fun, size_t initial_capacity=15) |
| Factory function for creating array_sink, uses "std::malloc" and "std::free". | |
| array_sink< char *(*)(int), void(*)(char *)> | staticlib::io::make_array_sink (size_t initial_capacity=15) |
| Factory function for creating array_sink, uses "std::malloc" and "std::free". | |
1.8.1.2