Added operator= integer operator.

This commit is contained in:
Brad Arant committed 2024-10-14 10:09:14 -07:00
1 parent 9d62a09140
commit 8648ab3152
3 files changed
+21 -2

No files matched your search

+6 -1
View File
@@ -88,7 +88,12 @@ int main(int argc, char **argv) {
coreutils::MString test26;
double test27 = 4.0f;
test26 = test27;
std::cout << "float: " << test26 << std::endl;
std::cout << "float: " << test26 << std::endl;
coreutils::MString test28;
int test29 = 402;
test28 = test29;
std::cout << "int: " << test28 << std::endl;
return 0;
}