Function

replace

Replaces a part of a container with another container.

Include Headers

seqan/sequence.h

Parameters

A container that is modified. | |

A container that is inserted into Remarks: The function does not modify this container. | |

Begin of replaced area. The first position in | |

End of replaced area. The position behind the last position in | |

The maximal length of | |

Specifies the strategy that is applied if Types: Overflow Strategy |

Remarks

If target is a Segment object, then
limit denotes the maximal length of host(target) after the operation.

Some compilers have difficulties if pos_begin and pos_end are both 0, since 0 can be
both a position or an iterator. The workaround is to convert at least one of these arguments
explicite to the position or to the interator type.

Part of Concept

SeqAn - Sequence Analysis Library - www.seqan.de