Ordered map parameters are passed by reference, allowing the called routine to operate directly on the caller's copy of the ordered map (inputting and/or outputting, clearing or extending). As there are multiple variations of ordered maps, it is usually necessary that the variation passed matches the expectation of the receiving routine—which hopefully spells out the requirements in its documentation.