Function
create
Makes an object to owner of its content.
Parameters
A holder object. Types: Holder | |
Object from which a copy is made and stored in Types: Value<Holder>::Type | |
Gets a copy of the content of Types: CStyle String | |
Is copied to | |
The maximal length of | |
Specifies the strategy that is applied if Types: Overflow Strategy |
Remarks
After this operation, holder will be in state 'owner'.
If object is specified, holder will hold a copy of object at the end of this function.
If object is not specified, the action depends on the former state of holder :
- If the state of holder was 'empty', a new object is default constructed and stored into holder .
- If the state of holder was 'dependent', a copy of the former object is made and stored into holder .
- If the state of holder was already 'owner', nothing happens.
It is guaranteed, that after calling this function source and target can be used independently.
See Also
SeqAn - Sequence Analysis Library - www.seqan.de