可能重复: 从C++函数返回多个值
函数可以返回多个值吗?
编辑 除了通过引用返回.
c++ language-agnostic return-value
c++ ×1
language-agnostic ×1
return-value ×1