c++ - cv-qualified 是什么意思?

标签 c++ declaration definition qualifiers

<分区>

我已经开始看到“cv-qualified”一词被广泛使用。

An answer我的最后一个问题:

if T is a (possibly cv-qualified) class type (Clause 9), the default constructor (12.1) for T is called

有人可以为我定义吗?

最佳答案

c-v qualified 表示 const 和 volatile...例如:-

// non cv_qualified 
int first; 
char *second; 

// cv-qualified 
const int third; 
volatile char * fourth; 

关于c++ - cv-qualified 是什么意思?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27527642/

相关文章:

c++ - 如何在运行 SDL 程序时降低 CPU 使用率?

c++ - C++ 中的 int *x 和 int* x 有区别吗?

css - IE7定义列表-对齐问题

definition - Nearley Tokenizers 与规则

html - 替换 DOA <di> 标签

c++ - 创建和修改系统路径变量

c++ - 关于 const 禁止的重言式比较的警告?

c# - 全局变量 : Common Practice? 的定义/初始化(面向 C#)

c# - 为什么我不能在 C# 中使用 var 声明常量?

c++ - 从 Superpowered CrossExample for Android 解释 C++ 代码