Cannot Convert Argument 1 From _ty to Const
This problem has been solved. This is not a Visual C problem it is a problem of the lib you are trying to use. Compilation Error With Std Map Std String Std String On Vs 2015 Issue 734 Nlohmann Json Github This is what causes the problem. . Thats not allowed as the compiler so kindly tells you. Sorry KarstenK Im trying to put a shared pointer into a vector of shared pointers. I have not declare the vector density as const vector density what is the reason for this problem. Cannot convert from Node to const int. Add const to stdstring which is a parameter of function like this. Kasonyin opened this issue May 8 2021 0 comments Comments. Errors like that cannot convert argument 2 from const int to int should be easy fixable. IgorTandetnik-1300 answered Mar 28 2021 at 137 PM. Iterators behave like pointers but you can not cast an iterator to a pointer and expect that it will work correct unless an iterator pro...