C/C++ 错误处理时间:2022-06-21 03:21:43has incomplete type and cannot be defined在头文件中添加该类型所在的文件eg:aggregate 'std::stringstream oss' has incomplete type and cannot be ;在文件中添加 include <sstream> 来解决。