Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 VA Outline issue with using namespace.

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
Esone Posted - May 08 2007 : 05:11:07 AM
void SomeClass::someFun1()
{
}

void SomeClass::someFun2()
{
}

using namespace someNamespace;

void SomeClass::someFun3()
{
}

void SomeClass::someFun4()
{
}

The line "using namespace someNamespace;" is splitting SomeClass methods section in VA Outline. I feel that splitting here is not very good since readability gets broken. Are you agree?

2   L A T E S T    R E P L I E S    (Newest First)
Esone Posted - May 08 2007 : 09:35:06 AM
I agree here, thanks.
feline Posted - May 08 2007 : 07:56:35 AM
I agree this is not ideal, however this also looks correct. Live Outline is reporting the true ordering of items in this file.

Placing the "using namespace" line under the class parent node is wrong. Removing the "using namespace" line from Live Outline does not sound very helpful.

In this case I would suggest you need to place the using namespace line at the top of the file.

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