invalid conversion from ‘float**’ to ‘const float**’
- by Omry
I have a function that receives float** as an argument, and I tried to change it to take const float**.
the compiler (g++) didn't like it and issued :
invalid conversion from ‘float**’ to ‘const float**’
this makes no sense to me, I know (and verified) that I can pass char* to a function that takes const char*, so why not with const float** ?