Erroring about using push_back function in visual studio 2019 for Azure Kinect

北城以北 提交于 2020-01-06 05:22:09

问题


For line

body_result_json["joint_orientations"].push_back({          
    skeleton.joints[j].orientation.wxyz.w,                                                         
    skeleton.joints[j].orientation.wxyz.x,                                                      
    skeleton.joints[j].orientation.wxyz.y,                                                                    
    skeleton.joints[j].orientation.wxyz.z });

I got the error as below:

nlohmann::basic_json<std::map, std::vector, std::string, 
bool, int64_t, uint64_t, double, std::allocator, nlohmann::adl_serializer>" 
has no member "push_back" offline_processor

来源:https://stackoverflow.com/questions/58595826/erroring-about-using-push-back-function-in-visual-studio-2019-for-azure-kinect

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!