#include <string> void reserve( size_type size );
The reserve() function sets the capacity of the string to at least size.
reserve() runs in linear time.