Skip to content

Music_iterator: get_own_context and set_own_context

Dan Eble requested to merge dev/eble/get-own-context into master

Problem: Music_wrapper_iterator overrides get_context () and set_context () to address the wrapped iterator conditionally. This makes it harder to understand things like constructing and walking the iterator hierarchy.

Solution: Add get_own_context () and set_own_context () to address the wrapper iterator itself. Where these appear, there is no question about what they do.

Merge request reports