How can I perform this code with below details in C++:
mystring a;
a="A test text";
"mystring" is a class that is defined (by myself) for strings , and other operators like + , == , >> , << , etc are defined in this class. How can i define a function (a friend function with class) that "=" perform something that I have mentioned.
if there were dictation mistakes, forgive me.