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 X 1216: std:: ... template + namespace
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Uniwares
Tomato Guru

Portugal
2322 Posts

Posted - Feb 27 2004 :  11:14:33 AM  Show Profile
Hmm, where to start with this one??
It seems that VAX is adding typedef'd templates into the namespace of the template.

e.g.:
typedef map<int, string> map_is;
Now map<int, string> will show up in the HCB whenever VAX shows the contents of the std namespace. I have currently dozens of map<>, set<>, vector<>, etc. showing up in the std namespace.

Another bug here is that once a type is in this list, it remains there until you restart the IDE. This means that if you use (not even typedef) for example std::bitset<8> somevar, reparse, overwrite it with std::bitset<9> somevar, reparse, and overwrite it with std::bitset<88> somevar, you end up with the HCB showing bitset<8>, bitset<9> and bitset<88> in the std namespace.

While we are at it:
void test()
{
	std::bitset<24> bs;
... some more code
	std::out << bs.template to_string<char, char_traits<char>, allocator<char> >();
}
(positive sidenote: .template is colored properly); When you hover the mouse over bs in this case, the HCB shows the std namespace, and not the members of std::bitset<24>. This is true for most template classes from the STL.

Did I mention already that I'd like to have full template support in VA X?
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000