I'm attempting to create libraries for Blitz, a commonly used C++ library for multi-dimensional array arithmetic. In it, the user accesses and sets elements of an array using the operator() call. For example,
The last line--myArray(1,0) = 3;--is what I was trying to configure in my blitz.cfg library. I wanted to let cppcheck know that the object was being altered through this function call. Is this assumed by default? If not, how do you format it?
I'm attempting to create libraries for Blitz, a commonly used C++ library for multi-dimensional array arithmetic. In it, the user accesses and sets elements of an array using the
operator()
call. For example,The last line--
myArray(1,0) = 3;
--is what I was trying to configure in myblitz.cfg
library. I wanted to let cppcheck know that the object was being altered through this function call. Is this assumed by default? If not, how do you format it?This is what I had so far as my best guess:
There might be errors above, so please let me know what I'd need to add/change. Thanks!
Last edit: Clint Chelak 2019-06-04