IDE: Visual Studio 2008
Hi,
Assume the following C++ class in a header file:
class foo
{
operator unsigned int();
};
If I "Create Implementation" on the casting operator above, the following C++ output is given in the CPP file:
foo::operator unsigned()
{
}
Obviously the output above is incorrect, as it is missing the "int" part after "unsigned". This does not compile.
The expected output is as follows:
foo::operator unsigned int()
{
}
The missing parts are bolded.