C++ stringは値で返す

Another C++ learning moment: returning strings from functions - Stack Overflow