Trying to fix MString assignments.

This commit is contained in:
Brad Arant committed 2023-10-10 15:49:46 -07:00
1 parent 74ab316e64
commit d020363bc9
12 files changed
+75 -16

No files matched your search

+9
View File
@@ -1,5 +1,6 @@
#include <iostream>
#include "../ZString.h"
#include "../MString.h"
int main(int argc, char **argv) {
@@ -44,4 +45,12 @@ int main(int argc, char **argv) {
std::cout << "find MX: " << testA.find("MX") << std::endl;
std::cout << "unparsed: " << testA.unparsed() << std::endl;
std::string testb = "this is a string";
coreutils::ZString testc = testb;
std::cout << testc << std::endl;
coreutils::MString testd = "this is an mstring";
testc = testd;
std::cout << testc << std::endl;
}