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
 1533: error underline in userconversion functions
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

.oisyn
Tomato Guru

162 Posts

Posted - Oct 05 2006 :  10:31:53 AM  Show Profile  Reply with Quote
#include <string>
using namespace std;

class myclass
{
    operator string();       // ok
    operator std::string();  // shows 'operator' with a red error-underline
};


So, when using :: in a user conversion definition the word 'operator' is underlined.

feline
Whole Tomato Software

United Kingdom
19020 Posts

Posted - Oct 05 2006 :  2:21:44 PM  Show Profile  Reply with Quote
confirmed. thank you for the clear example.

case=2869

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

support
Whole Tomato Software

5566 Posts

Posted - Apr 14 2007 :  12:03:10 AM  Show Profile  Reply with Quote
This has been fixed in build 1553.
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