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
 Feature Requests
 Auto-correction of namespaces
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

znakeeye
Tomato Guru

379 Posts

Posted - Mar 11 2009 :  12:29:56 PM  Show Profile  Reply with Quote
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
  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