• reference to constParameter to which a temporary object will most likely be bound

    For the next functionstrIs a temporary object
    / /! I can't even compile, // void use(STD ::string&) void use(const STD ::string&) {} int main() {char array[] = "hello world"; use(array); return 0; }Copy the code