What is the life cycle of a class instance returned by function in c++?

前端 未结 0 1053
甜味超标
甜味超标 2021-01-29 12:02
#include 
#include 
#include 
std::string fun(){
    return "this is a string";
}
int main(){
    const char *str          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题