Strategy pattern applied to visitors: serves as a context to a strategy, which itself is a visitor; delegates all requests to the current strategy; capable of switching strategy at will. Derived classes may declare the known strategies as friend to facilitate communication between the strategies and their context.