这是ISO的要点:标准转换:数组到指针的转换:$4.4:资格转换/6th点
standard conversions:Qualification conversions
Two multi-level pointer to member types or two multi-level mixed pointer
and pointer to member types T1 and T2 are similar if there exists a type T
and integer n > 0 such that:
T 1 is cv 1 , 0 P 0 to cv 1 , 1 P 1 to . . . cv 1 , n − 1 P n − 1 to cv 1 , n T
and
T 2 is cv 2 , 0 P 0 to cv 2 , 1 P 1 to . . . cv 2 , n − 1 P n − 1 to cv 2 , n T这意味着什么?请也检查一下前面的问题?谁能解释一下this.If可能给出的例子..如果可能的话,对form.Can来说,任何一个电子运算都意味着什么。
其他问题:
为什么标准要适用于这样的form.Is --有什么原因吗?
发布于 2010-11-25 15:57:27
此规则是规则的一部分,该规则告诉您是否有从int*const*到int volatile**的转换。您可以看到它们是相似的,因为它们都是int.之外的的两个间接级别
在两个相似类型之间进行转换时,必须对类似类型使用转换规则。在不相似的两种类型之间进行转换时,有不同的规则。
https://stackoverflow.com/questions/4274136
复制相似问题