large_number: created assignment operator

This commit is contained in:
Krishna Vedala 2020-05-02 17:56:42 -04:00 committed by Krishna Vedala
parent 1cb1641abc
commit f4778612e0

View File

@ -239,6 +239,14 @@ public:
return a;
}
/**
* assignment operator
**/
void operator=(const large_number &b)
{
_digits = b._digits;
}
/**
* operator overload to increment
**/