template class Poco::BufferAllocator

The BufferAllocator used if no specific BufferAllocator has been specified.

#include <BufferAllocator.h>

template <typename ch>
class BufferAllocator
{
public:
    // typedefs

    typedef ch char_type;

    // methods

    static
    char_type*
    allocate(std::streamsize size);

    static
    void
    deallocate(
        char_type* ptr,
        std::streamsize
        );
};