Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 change signature fails

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
Michal Puczynski Posted - Jun 21 2011 : 04:50:08 AM
When a method is declared in a class using fully qualified name, change signature produces invalid method name in implementation.
(using VA 1848).

class A
{
void A::test(void *p);
}

change signature: test(void *p, int &k) -> results in:

void A::A( void *p, int &k )
{

}
3   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Jun 23 2011 : 10:17:08 AM
Thank you for the update, it is good news that this is not to common in your code, given this problem.
Michal Puczynski Posted - Jun 22 2011 : 06:47:44 AM
Yeah, that is a rare case. The only use case making sense is to change protection on a method when deriving from a class.
The one I found in my code was however a copy-paste from implementation.
feline Posted - Jun 21 2011 : 2:04:42 PM
I am seeing the same effect here. Thank you for the clear description.

case=58291

Out of interest, why are you using fully qualified names for the function declarations? I don't think I have ever seen anyone do this before.

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