Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 C++ destructor autocomplete
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Chris Jones
New Member

6 Posts

Posted - Jul 29 2010 :  1:31:35 PM  Show Profile  Reply with Quote
I'm not sure if this is a bug or if i just don't have the right options set. When typing a class name in C++ then two colons, it brings up the list of member names which include the destructor of the class. If i then press the ~ key, it just inserts whatever is selected in the list followed by the ~ character rather than selecting the destructor from the list. It works fine for all other keys. (For example, if i type MyClass:: and press ~, it might end up putting MyClass::_myVar~)

Thanks

feline
Whole Tomato Software

United Kingdom
19021 Posts

Posted - Jul 30 2010 :  11:57:58 AM  Show Profile  Reply with Quote
I am seeing the same effect here. Thank you for the clear description.

case=48045

Are you trying to create the implementation for the destructor, or are you trying to call the destructor manually? If you are creating the implementation then you can instead use the VA refactoring command Create Implementation on the destructor declaration, avoiding this bug, and also saving you some typing:

http://www.wholetomato.com/products/features/createImplementation.asp

zen is the art of being at one with the two'ness
Go to Top of Page

Chris Jones
New Member

6 Posts

Posted - Jul 30 2010 :  12:02:23 PM  Show Profile  Reply with Quote
Glad it's not just me. It's for the destructor implementation.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000