The solution is to store pointers as pointer types or the special types defined for this purpose, such as intptr_t and uintptr_t.
解决方案是将指针作为指针类型或为此而定义的特殊类型进行存储,例如 intptr_t 和 uintptr_t。
The pointer and iterator types used by the container are not necessarily neither Pointers nor conforming iterators, although they shall simulate most of their expected behavior.
容器使用的指针以及迭代器类型既不必要指向也不必要符合迭代器。(这句翻译的好怪…),即便他们看起来应该模范他们应该做的行为。
For two pointer types to be compatible, both shall be identically qualified and both shall be Pointers to compatible types.
两个相容的指针,既要有同一的限定修饰词,所指向的类型也要相容的。而两个相容的类型要符合如下规定。
应用推荐