Perform the »SplitSplice« Algorithm to splice a new Segment into the given segmentation of the integer-axis.
A local λ-binding is setup to define the basic operations required by the algorithm implementation to work with this specific kind of data.
- Returns
- Tuple
(s,n,e)
to indicate where changes happened
- s the first changed element
- n the new main segment (may be identical to s)
- e the first unaltered element after the changed range (may be
end()
)
- See also
- lib::splitsplice::Algo
-
setup for the Fixture-Segmentation
Definition at line 240 of file split-splice-test.cpp.