#include <iostream>
#include <string>
#include <string_view>

int main() {
    std::string owner{"cat"};
    {
        const std::string_view view{owner};
        std::cout << view << '\n';
        owner[1] = 'u';
        std::cout << view << '\n';
    }
    owner += "!";
    const std::string_view current{owner};
    std::cout << current << ' ' << current.size() << '\n';
    return 0;
}
