I have a class with this method:
String getString(const StringRef& sectionName, const StringRef& keyName, const StringRef& defaultValue = L"");
If I then choose Refactor-Create Implementation I get:
String Settings::getString( const StringRef& sectionName, const StringRef& keyName, const StringRef& defaultValue /*= L"") )
{
}
And this is 100% consistent.
Update: It seems that this error only occurs when the default parameter is a string.
*edited by feline to make this post a normal width*