नोट
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप साइन इन करने या निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
binary 'operator' : no operator found which takes a right-hand operand of type 'type' (or there is no acceptable conversion)
Remarks
To use the operator, you must overload it for the specified type or define a conversion to a type for which the operator is defined.
Example
The following example generates C2679:
// C2679.cpp
class C {
public:
C(); // no constructor with an int argument
} c;
class D {
public:
D(int) {}
D(){}
} d;
int main() {
c = 10; // C2679
d = 10; // OK
}