I encounter a question when reading the source code in "param.cpp" at line 205: "if (size == sizeof(ptr)) break;". I think this condition is used to check if the index size is out of range of array ptr, and it should be "if (size == sizeof(ptr)/sizeof(char *)) break;".
I'm not sure if my idea is right. ..
I encounter a question when reading the source code in "param.cpp" at line 205: "if (size == sizeof(ptr)) break;". I think this condition is used to check if the index
size
is out of range of arrayptr
, and it should be "if (size == sizeof(ptr)/sizeof(char *)) break;". I'm not sure if my idea is right. ..