User`s guide

friend std::ostream& operator<<(std::ostream& os,
const mwString& str)
Purpose Copy contents of input string to specified ostream
C++
Syntax
#include "mclcppclass. h"
#include <ostream>
mwString str("This is a string");
std::cout << str << std::endl; //should print "This is a
//string" to standard out.
Arguments os
ostream
to copy string to.
str
String to copy.
Return
Value
The input os tream.
Description Use this operator to print the contents of an mwString to an ostr eam.
C-19