在编程语言中,类型限定符(Type Qualifier)是一个关键之,用于修饰 类型(type)。
In the C, C++, and D programming languages, a type qualifier is a keyword that is applied to a type, resulting in a qualified type. For example,
const intis a qualified type representing a constant integer, whileintis the corresponding unqualified type, simply an integer. In D these are known as type constructors, by analogy with constructors in object-oriented programming.
本文介绍了在C、C++及D编程语言中类型限定符的概念及其应用。类型限定符是一种关键字,用于修饰类型,例如const int表示常量整数。文章通过实例说明了限定符如何作用于类型。

4823

被折叠的 条评论
为什么被折叠?



