fn() arrayConstructCopyCopy constructs an array of objects into in a given memory buffer.
Copy constructs an array of objects into in a given memory buffer.
Defined in | <seqan/basic.h> |
---|---|
Signature |
void arrayConstructCopy(sourceBegin, sourceEnd, target);
|
Parameters
sourceBegin
|
Iterator to the first element of the source range. |
---|---|
sourceEnd
|
Iterator behind the last element of the source range. sourceEnd should have the same type as sourceBegin. |
target
|
Pointer to the memory block the new objects will be constructed in. The type of target specifies the type of the constructed objects: If T* is the type of target, then the function constructs objects of type T. The memory buffer should be large enough to store sourceEnd - sourceBegin objects. An appropriate (copy-) constructor that constructs an target objects given a source object is required. |
Data Races
Thread safety unknown!