In the absence of a specific instance, this is implied. Why do you feel the need to explicitly use this->?
I'm not saying it's wrong. I'm asking why. The only time I use this-> is when a class field has the same name as a local variable (typically a method argument).
I have looked at SoftwareSerial source, and didn't see any test to skip pin initialization in case it has a "special" value. I've put in my todo list the task of looking closer to SS code and see if I can patch it to actually save a pin.
Another solution could be to shamelessly copy the tx code from SoftwareSerial and put it into a new "tx-only" SoftwareSerial class.
In the absence of a specific instance, this is implied. Why do you feel the need to explicitly use this->?
I'm not saying it's wrong. I'm asking why. The only time I use this-> is when a class field has the same name as a local variable (typically a method argument).
It just looked clearer to me when I wrote it. Since it's implied, it becomes just a matter of taste IMHO.