3 ms·
I believe it would be possible to add the functionality I describe to the language if the wish of those involved existed. Even if that would mean not calling it
by acqq 12y ago
I believe it would be possible to add the functionality I describe to the language if the wish of those involved existed. Even if that would mean not calling it std::string to avoid breaking the existing programs.
I don't know of any current compiler that doesn't use heap when the object is made to actually call malloc (which is typically what the "new" eventually calls).
- tonyedgecombe 12y agoYou could just use std::array<char, 255>
- acqq 12y agoDo I have all the string functionality, nicely existing in std::string?