I have a problem with LibRaw(0.20.2, MSVC2012) using std::map
Here is the test code
----------------------------------------------------------------------
std::map test;
test["elem1"].imgdata.params.user_qual = 10;
----------------------------------------------------------------------
There is no compile error, but runtime error occurs at
"test["elem1"].imgdata.params.user_qual = 10;"
I don't know why std::vector is work well but std::map is NOT work well.....
Does anyone know how to fix this error?
there is a typo in test code
std::map test; ->
std::map<std::string, LibRaw> test;
Doesn't anyone there have a solution?
It seems like a lot of time has passed, but is there any solution?