Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
Qt Creator 4.7.1, Qt Creator 4.8.0-beta1
-
None
-
d3fafcde0fd4f74112d20228ac7175a02ffcb821 (qt-creator/qt-creator/master)
Description
Consider the following class definition which includes a user-defined conversion operator:
class Foo { public: operator std::string() const; }; Foo::operator std::string() const {} // Should jump here
If a user moves the cursor over std::string() and calls "Switch between member function declaration/definition", Qt Creator opens STL's definition of std::string instead of moving to the definition of operator std::string() const.