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. |