Bug #18600 2012-05-09 14:34

ollydbg

The default function arguments contains inner parentheses

See the bug report:

Bug #18526

https://developer.berlios.de/bugs/?func=detailbug&group_id=5358&bug_id=18526

The test code is:

Found another problem:

If I have another class:

class A

{

public:

A(int x, int y){}

~A(){}

};

And declare a member function in TestClass:

void Test4(const A& a = A(1, 2));

Insert implementation will result in:

void TestClass::Test4(const A& a, 2))

{

}

This is because the inner parentheses is not skipped correctly.

Category
Plugin::CodeCompletion
Group
Platform:All
Status
Open
Close date
 
Assigned to