fn() arrayConstructMoveMove constructs an array of objects into in a given memory buffer.
Move constructs an array of objects into in a given memory buffer.
Defined in | <seqan/basic.h> |
---|---|
Signature |
void arrayConstructMove(sourceBegin, sourceEnd, target);
|
Parameters
sourceEnd
|
Iterator behind the last element of the source range. sourceEnd should have the same type as sourceBegin. |
---|---|
sourceBegin
|
Iterator to the first element of the source range. |
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 move constructor that constructs an target objects given a source object is required. |
Data Races
Thread safety unknown!