What defines an opaque type in C, and when are they necessary and/or useful?

后端 未结 3 2009
你的背包
你的背包 2020-12-05 01:37

I\'ve seen the concept of \'opaque types\' thrown around a bit but I really haven\'t found a succinct answer as to what defines an opaque type in C and more importantly what

3条回答
  •  臣服心动
    2020-12-05 02:27

    An opaque type is a type which is exposed in APIs via a pointer but never concretely defined.

提交回复
热议问题