SimpleAllocator - SeqAn API Documentation

# Spec SimpleAllocator
General purpose allocator.

Extends | Allocator
All Extended | Allocator
Defined in | <seqan/basic.h>
Signature | `template <typename TParentAllocator> class Allocator<SimpleAlloc<TParentAllocator> >;`

## Template Parameters

`TParentAllocator` | An allocator that is used by the simple allocator to allocate memory.

## Interface Function Overview

### Interface Functions Inherited From Allocator

- `allocate`
- `clear`
- `deallocate`

## Detailed Description

The tag Default used as TparentAllocator means that the default implementations of `allocate` and `deallocate` are used.

#### Dox Sources

    /*!
     * @class SimpleAllocator
     *
     * @extends Allocator
     *
     * @headerfile <seqan/basic.h>
     *
     * @brief General purpose allocator.
     *
     * @signature template <typename TParentAllocator> class
     *            Allocator<SimpleAlloc<TParentAllocator> >;
     *
     * @tparam TParentAllocator An allocator that is used by the simple allocator to
     *                          allocate memory.
     *
     * The tag Default used as TparentAllocator means that the default
     * implementations of <tt>allocate</tt> and <tt>deallocate</tt> are used.
     */