Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Refactoring code in namespaces

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
johnnyk Posted - Jul 25 2006 : 03:50:03 AM
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.
1   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Jul 25 2006 : 7:42:19 PM
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

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