'Invalid conversion from some_type** to const some_type**'

前端 未结 3 1451
生来不讨喜
生来不讨喜 2020-12-11 03:59

I\'ve got a function that requires const some_type** as an argument (some_type is a struct, and the function needs a pointer to an array of this ty

3条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-11 04:50

    See: Why can't I pass a char ** to a function which expects a const char **? from the comp.lang.c FAQ.

提交回复
热议问题