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
 Refactoring code in namespaces
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

johnnyk
New Member

6 Posts

Posted - Jul 25 2006 :  03:50:03 AM  Show Profile  Reply with Quote
Refactoring code will not play nice with the way I have namespaces defined. In both the .cpp and .h at the top:

namespace Foo
{
...(declarations/definitions)...
}

When I refactor something using a VA tool, it takes it outside of this block and prepends the namespace name to the function, which works find and compiles, but why can't the software read my mind and know I want it in the namespace block? :)

I think if a namespace block is available, it ought to be safe to assume it should go in there.

feline
Whole Tomato Software

United Kingdom
19020 Posts

Posted - Jul 25 2006 :  7:42:19 PM  Show Profile  Reply with Quote
placing the code into the namespace block should be fixed in the next build, full blown mind reading still seems to be a few builds away

case=1359

zen is the art of being at one with the two'ness
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