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 1215: #ifdef'd typedefs
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Uniwares
Tomato Guru

Portugal
2321 Posts

Posted - Feb 03 2004 :  11:35:41 AM  Show Profile
#ifndef tstring
#	ifdef _UNICODE
typedef wstring tstring;
#	else
typedef string tstring;
#	endif
#endif

Now tstring shows up in the HCB as:
tstring
+ :std:string
+ :std:basic_string<char, char_traits<char>, allocator<char> >
+ :std:wstring
+ :std:basic_string<wchar_t, char_traits<wchar_t>, allocator<wchar_t> >
(basic_string and allocator are colored in grey)

While this comes close to the real thing there are some errors in it.
Also, doubleclicking on the lines with :std:basic_string does not take me to the definition - it does nothing.
All items in the HCB have a + in front to expand them, but :std:basic_string does not expand as it has no siblings.
  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