3 ms·
Well, but std::vector always performs a move so any pointers to sub-strings won't be valid anyway from what I understand. I am probably just not getting somethi
by bluecalm 11y ago
Well, but std::vector always performs a move so any pointers to sub-strings won't be valid anyway from what I understand.
I am probably just not getting something but it really seems like it should just use realloc. Maybe it has something to do with thread safety though as I don't think there are any guarantees for realloc.