R
Rakesh Kumar
Hi -
I am going through the STL API for std::string.
I see 2 methods called reserve(sz) and resize(sz) .
I am just curious if they actually implement the same and if not ,
what are the scenarios in which one would be preferable over another.
I am going through the STL API for std::string.
I see 2 methods called reserve(sz) and resize(sz) .
I am just curious if they actually implement the same and if not ,
what are the scenarios in which one would be preferable over another.