diff options
Diffstat (limited to 'src/examples/xb_ex_string.cpp')
-rwxr-xr-x | src/examples/xb_ex_string.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/examples/xb_ex_string.cpp b/src/examples/xb_ex_string.cpp index 30fd74e..0cd7671 100755 --- a/src/examples/xb_ex_string.cpp +++ b/src/examples/xb_ex_string.cpp @@ -116,8 +116,9 @@ int main() std::cout << s3.Str() << std::endl; - s3 = 'A' + s1; - + // The following compiles and runs, but is not valid + // s3 = 'A' + s1; + std::cout << std::endl << "== operator tests" << std::endl; if( s1 == s2 ) std::cout << s1.Str() << " == " << s2.Str() << std::endl; |