不透明量指的是什么?
这个文件中提到,cookies、句柄、位字段属于不透明量,那么不透明量究竟指什么?它们是怎么个“不透明”法?
Cookie
[解决办法]
In computer science, an opaque data type is a data type that is incompletely defined in an interface, so that its values can only be manipulated by calling subroutines that have access to the missing information. The concrete representation of the type is hidden from its users. A data type whose representation is visible is called transparent.
这是维基百科上的解释,连接如下
http://en.wikipedia.org/wiki/Opaque_data_type
很多时候某些材料里面的名词都是直接翻译的英语单词,强烈建议楼主以后多查阅英文材料,中文材料很多时候翻译的一点都不靠谱。
[解决办法]
简单的解释一下就是只能被有特定权限的子程序修改和查看,对用户来说是不可见的。
透明量就是对用户也可见的量