Each input title is processed in turn.
S contributes everything up to and including S.S simply contributes itself to the output.Contributions are dominantly appended to the output.
The table-of-contents macros use this operator with / as the parameter.