Skip to content

std::String::basic<Char, Traits>::reserve

reserve

Reserves capacity for the string

Signature

reserve(self, new_cap: size_t) -> void

Specifiers

  • noexcept

See Also

Back to basic<Char, Traits>