Strategy pattern can use this pointer?
I want to use strategy pattern, but I wander if it is correct to use “this pointer” with the strategy pattern interface.
Strategy pattern can use this pointer?
I want to use strategy pattern, but I wander if it is correct to use “this pointer” with the strategy pattern interface.