Declaring operator functions for specific subclasses