Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 1724: Cannot find references to C++ constructor

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
MHaggag Posted - Jun 04 2009 : 7:24:08 PM
Attempting to find references on class constructors finds all references to the class itself.

Example:
class Test
{
public:
    Test();
    Test(const Test& source);
    explicit Test(int value);

private:
    int someData;
};

int main()
{
    Test t1;
    Test t2(t1);
    Test t3(5);

    return 0;
}


Attempt to find references on any of the 3 constructors. All "Test" occurrences will be highlighted.
1   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Jun 05 2009 : 12:35:55 PM
Currently this is a known limitation:

case=1262

in general, finding all calls to the constructor is hard. What about copy constructors and possible casts?

There is also the second problem of overloaded constructors. Currently VA does not distinguish between overloaded methods, but this is something we are aware of and considering addressing.

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000