Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Feature Requests
 Auto-correction of 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
znakeeye Posted - Mar 11 2009 : 12:29:56 PM
You added the automatic #include. Why not do the same for namespace-classes?

vector<int> v;
When vector is only found in namespace "std", the code is transformed to this:
std::vector<int> v;
... if "using std::vector;" or "using namespace std;" are not set.

Or something like that. You get the idea. Be creative! :P

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