| ▲ | uecker 3 hours ago | |
Sure, but you can have a similar string abstraction in C. What would you miss? The overloaded operators? | ||
| ▲ | direwolf20 35 minutes ago | parent [-] | |
Automatic memory accounting — construct/copy/destruct. You can't abstract these in C. You always have to call i_copied_the_string(&string) after copying the string and you always have to call the_string_is_out_of_scope_now(&string) when it goes out of scope | ||