Skip to content
UPEEC

std::string

Owning, growable text string.

Beginner
Comments 0

s += "V"; s.find("mA"); s.substr(0, 3); std::to_string(3.3); Small strings avoid heap allocation (SSO).

Spotted a mistake or want to add detail? Suggest an improvement — Content Contributors' edits are reviewed by editors before they go live.

Discussion (0)

Sign in or join free to ask questions and discuss this topic.