Force `this` pointer in C++ with Rider or .editorconfig?

76 views Asked by At

Is there a way to force the use of the this pointer in C++ code with Rider or .editorconfig?

Example:

class Foo {
 public:
  void Bar() {
    this->_x++; // forcing the `this->`
  }

 private:
  int _x = 1;
};

I want to force the IDE to use the this pointer in class properties.

0

There are 0 answers