You must be registered to post a reply. Click here to register.
T O P I C R E V I E W
.oisyn
Posted - Oct 05 2006 : 10:31:53 AM
#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.
2 L A T E S T R E P L I E S (Newest First)
support
Posted - Apr 14 2007 : 12:03:10 AM This has been fixed in build 1553.
feline
Posted - Oct 05 2006 : 2:21:44 PM confirmed. thank you for the clear example.