Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 wrong $MethodArg$

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
diavo Posted - Jun 16 2006 : 05:15:14 AM
The following code produces wrongly two arguments if using the Refactor-Document-Method:

bool CTest::Test(const QList<QPair<QString, quint16>> &i)
{
}
5   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Jun 17 2006 : 1:45:50 PM
even adding lots of spaces does not help. the code:

bool felineURL::Test(const QList < QPair < QString, quint16 > > &b) 
{

}


still gives me two parameters on document method.

case=1356
jpizzi Posted - Jun 17 2006 : 01:23:26 AM
I see that VS 2005 now allows this. I knew it was part of TR1, but didn't think that VS 2005 had implemented any of TR1.

The question still remains: Does inserting a space between the symbols allow VA to work properly?
sean Posted - Jun 16 2006 : 9:14:31 PM
The >> change was part of TR1 and made it into the standard. Along with:
delegating constructors
var arg macros
extern template declarations
implicit type declarations (determined by rhs type)

(see Pete Beckers columns in Dr Dobbs)
But I don't know how many of these are also supported by vs2005.
mbobka Posted - Jun 16 2006 : 8:30:43 PM
Compiler in VS2005 parses it correctly. It new feature of VS2005.
jpizzi Posted - Jun 16 2006 : 09:30:31 AM
Does it work correctly if you separate the two right angle brackets? The compiler will have a problem with this, too. Try the following:

bool CTest::Test(const QList<QPair<QString, quint16> > &i)
{
}

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