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~)
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: