Author Topic: Find references to when overloaded operators in C++ are utilized  (Read 841 times)


  • Senior Community Member
  • Posts: 1773
  • Hero Points: 119
In C++, it is possible to override operators, such as + or =.

Unfortunately, there is no good way to perform a search to see each instance where the overloaded operator is actually used.

So I would like to have the code browsing capability to search for all instances of when something like (operator +) is invoked, for example:

class AClass
  AClass operator+(lhs, rhs)

AClass A;
A = A + B;   <=== Would like a cross-reference search on operator + to show this location in the search results.

The above example is with the + operator, but the request is for any type of operator that can be overloaded.