Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
“Strict”、“Typed”、“Restricted”和“Disjointed”别名有什么区别?
在“严格别名”中,如果指针是不同的类型,则它们不会别名。 在"Typed aliasing"中,相同类型的指针可以别名和重叠。 在"Restricted aliasing"中,假定相同类型的指针不重叠。 在"Disjointed aliasing"中,所有指针表达式都不会导致重叠。