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
 VA Outline issue with using namespace.
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Esone
Tomato Guru

Russia
115 Posts

Posted - May 08 2007 :  05:11:07 AM  Show Profile  Reply with Quote
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?

feline
Whole Tomato Software

United Kingdom
19022 Posts

Posted - May 08 2007 :  07:56:35 AM  Show Profile  Reply with Quote
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.

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

Esone
Tomato Guru

Russia
115 Posts

Posted - May 08 2007 :  09:35:06 AM  Show Profile  Reply with Quote
I agree here, thanks.
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