Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 Extract method
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

jameso
Ketchup Master

United Kingdom
83 Posts

Posted - Mar 20 2008 :  05:17:27 AM  Show Profile  Reply with Quote
In C++/CLI


   for each (A::B::C^ c in SomeClass::Collection)
   {
      // extract this as a method
      c->Foo();
   }


gives this when extracting the sub-block as a method


void MyFunc( A::B::C^ c in SomeClass::Collection)
{
   // extract this as a method
   c->Foo();
}


( 'in SomeClass::Collection' shouldn't be in the parameter declaration)

Cheers

James

Edited by - jameso on Mar 20 2008 05:18:08 AM

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Mar 20 2008 :  1:19:20 PM  Show Profile  Reply with Quote
I am seeing the same effect here. Thank you for the clear description.

case=14864

zen is the art of being at one with the two'ness
Go to Top of Page

support
Whole Tomato Software

5566 Posts

Posted - Apr 10 2008 :  12:53:29 AM  Show Profile  Reply with Quote
case=14864 is fixed in build 1632
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000