3 ms·
If you really wanted the pointers, you could also just make your own class that contains the pointer vector and a copy of the entire string which would be sligh
by robmccoll 12y ago
If you really wanted the pointers, you could also just make your own class that contains the pointer vector and a copy of the entire string which would be slightly less costly than new strings for each token.