您的位置:首页 > 移动开发 > Objective-C

error: cannot pass objects of non-trivially-copyable type ‘std::string {aka class std::basic_string

2017-12-14 15:43 786 查看


 报错cannot pass objects of non-trivially-copyable type 'std::string {aka struct std::basic_string<char>}' through '...'

解决方法:

在使用时候 加入c_str()

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐