如果我调用像myObj.setType("fluid")这样的函数; 在一个程序中,很多次,文字"流体"的副本被保存在内存中?编译器是否可以识别此文字已经定义并再次引用它?
c c++ string-literals
c ×1
c++ ×1
string-literals ×1