We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
when i use for(auto iter& : jsonObject) it occure some error
for(auto &it : SRMData) { m_SRMModelDataOperation->addSRMModelData(QString::fromStdString(it.dump(4))); }
maybe i change a compler
Compilation passed
No response
---\Libs\Utils\nlohmann\json.hpp:13291: maybe“bool nlohmann::json_abi_v3_11_2::detail::iter_impl<nlohmann::json_abi_v3_11_2::basic_json<std::map,std::vector,std::string,bool,int64_t,uint64_t,double,std::allocator,nlohmann::json_abi_v3_11_2::adl_serializer,std::vector<unsigned char,std::allocator<unsigned char>>>>::operator !=<nlohmann::json_abi_v3_11_2::detail::iter_impl<nlohmann::json_abi_v3_11_2::basic_json<std::map,std::vector,std::string,bool,int64_t,uint64_t,double,std::allocator,nlohmann::json_abi_v3_11_2::adl_serializer,std::vector<unsigned char,std::allocator<unsigned char>>>>,nullptr>(const IterImpl &) const” with [ IterImpl=nlohmann::json_abi_v3_11_2::detail::iter_impl<nlohmann::json_abi_v3_11_2::basic_json<std::map,std::vector,std::string,bool,int64_t,uint64_t,double,std::allocator,nlohmann::json_abi_v3_11_2::adl_serializer,std::vector<unsigned char,std::allocator<unsigned char>>>> ] **or** C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30133\include\utility:406: or “bool std::rel_ops::operator !=<nlohmann::json_abi_v3_11_2::detail::iter_impl<nlohmann::json_abi_v3_11_2::basic_json<std::map,std::vector,std::string,bool,int64_t,uint64_t,double,std::allocator,nlohmann::json_abi_v3_11_2::adl_serializer,std::vector<unsigned char,std::allocator<unsigned char>>>>>(const _Ty &,const _Ty &)” with [ _Ty=nlohmann::json_abi_v3_11_2::detail::iter_impl<nlohmann::json_abi_v3_11_2::basic_json<std::map,std::vector,std::string,bool,int64_t,uint64_t,double,std::allocator,nlohmann::json_abi_v3_11_2::adl_serializer,std::vector<unsigned char,std::allocator<unsigned char>>>> ] \GUI\mainwindow.cpp:3057: Try to match parameter list“(nlohmann::json_abi_v3_11_2::detail::iter_impl<nlohmann::json_abi_v3_11_2::basic_json<std::map,std::vector,std::string,bool,int64_t,uint64_t,double,std::allocator,nlohmann::json_abi_v3_11_2::adl_serializer,std::vector<unsigned char,std::allocator<unsigned char>>>>, nlohmann::json_abi_v3_11_2::detail::iter_impl<nlohmann::json_abi_v3_11_2::basic_json<std::map,std::vector,std::string,bool,int64_t,uint64_t,double,std::allocator,nlohmann::json_abi_v3_11_2::adl_serializer,std::vector<unsigned char,std::allocator<unsigned char>>>>)”
compiler:mvc 16.11.33130.400 amd 64 win10
json version 3.11.2
develop
The text was updated successfully, but these errors were encountered:
Minimal code example missing.
Sorry, something went wrong.
i find where i made this error.in my project somewhere,i use std::rel_ops,this will auto generate other operator function ,so it make the error occur.
No branches or pull requests
Description
when i use for(auto iter& : jsonObject) it occure some error
Reproduction steps
maybe i change a compler
Expected vs. actual results
Compilation passed
Minimal code example
No response
Error messages
Compiler and operating system
compiler:mvc 16.11.33130.400 amd 64 win10
Library version
json version 3.11.2
Validation
develop
branch is used.The text was updated successfully, but these errors were encountered: