auto s = RCString("bar"); assert(s[0] == 'b'); assert(s[1] == 'a'); assert(s[2] == 'r');
See Implementation