From a quick glance, it seems that almost all (or even all) of the operations here can apply to vectors of any type, not just (vector character) which is what strings are defined to be. Therefore, str could easily become a vector manipulation library, as opposed to just a string manipulation library.
From a quick glance, it seems that almost all (or even all) of the operations here can apply to vectors of any type, not just
(vector character)which is what strings are defined to be. Therefore,strcould easily become a vector manipulation library, as opposed to just a string manipulation library.