'operator' : no acceptable conversions from 'type1' to 'type2'
A conversion was not defined to convert an operand to the required type. If you’ve encountered this error on code which compiled with an earlier version of Visual C++, please read Technote: Improved Conformance to ANSI C++ for more information.
Define a constructor or conversion operator to make the required conversion.
The following is an example of this error:
class C
{
public:
C(); // no constructor with an int argument
} c;
class D
{
public:
D( int );
D();
} d;
void main()
{
c = 10; // error
d = 10; // OK
}