Function
allocate
Allocates memory from heap.
Include Headers
seqan/basic.h
Parameters
|  Allocator object. Types:  Allocator Remarks:  | |
|  Number of items that could be stored in the allocated memory.  The type of the allocated items is given by the type of  | |
|  A tag the specifies the purpose for the allocated memory. Values: Allocator Usage | 
Remarks
 The function allocates at least count*sizeof(data)  bytes.
 The allocated memory is large enough
 to hold count  objects of type T , where T *  is type of data .
Note: These objects are not constructed by allocate .
 Use e.g. one of the functions valueConstruct, arrayConstruct, arrayConstructCopy or arrayFill
to construct the objects.
A new  operator which is part of the C++ standard (defined in <new> )
 can also be used to construct objects at a given memory address.
Return Values
|  Pointer to allocated memory. Remarks: The value of this pointer is overwritten by the function. | 
Example Programs
Part of Concept
See Also
SeqAn - Sequence Analysis Library - www.seqan.de