#include <print> #include <string> int main() { std::string s = "hello"; s += ", world"; std::println("{} ({} chars)", s, s.size()); }
create and grow an owned string