added manual test for new Char copy-on-write mechanic
This commit is contained in:
		@@ -26,4 +26,5 @@ int main()
 | 
			
		||||
    String str5 = str2;
 | 
			
		||||
    str5[0] = 'i';
 | 
			
		||||
    std::cout << str5 << std::endl;
 | 
			
		||||
    std::cout << str2 << std::endl;
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user