C/C++开发问题


为什么编译器支持冗余范围限定,是否合法?
Why are redundant scope qualifications supported by the compiler, and is it legal?(为什么编译器支持冗余范围限定,是否合法?)...
2023-10-17 C/C++开发问题
5

什么时候对象“超出范围"?
When is an object quot;out of scopequot;?(什么时候对象“超出范围?)...
2023-10-17 C/C++开发问题
3

全局作用域与全局命名空间
Global scope vs global namespace(全局作用域与全局命名空间)...
2023-10-17 C/C++开发问题
1

变量的作用域与生命周期
Scope vs. Lifetime of Variable(变量的作用域与生命周期)...
2023-10-17 C/C++开发问题
0

构造函数初始化 Vs 赋值
Constructor initialization Vs assignment(构造函数初始化 Vs 赋值)...
2023-09-27 C/C++开发问题
5

`=default` 移动构造函数是否等同于成员移动构造函数?
Is a `=default` move constructor equivalent to a member-wise move constructor?(`=default` 移动构造函数是否等同于成员移动构造函数?)...
2023-09-27 C/C++开发问题
4

声明时新的 C++11 成员初始化功能是否使初始化列表过时了?
Has the new C++11 member initialization feature at declaration made initialization lists obsolete?(声明时新的 C++11 成员初始化功能是否使初始化列表过时了?)...
2023-09-27 C/C++开发问题
5

虚继承中构造函数调用的顺序
Order of constructor call in virtual inheritance(虚继承中构造函数调用的顺序)...
2023-09-27 C/C++开发问题
11

如何使用 sfinae 选择构造函数?
How to use sfinae for selecting constructors?(如何使用 sfinae 选择构造函数?)...
2023-09-27 C/C++开发问题
3

使用非平凡的构造函数初始化联合
Initializing a union with a non-trivial constructor(使用非平凡的构造函数初始化联合)...
2023-09-27 C/C++开发问题
13

为什么复制构造函数参数是常量?
Why is the copy-constructor argument const?(为什么复制构造函数参数是常量?)...
2023-09-27 C/C++开发问题
2

为什么受保护的构造函数会引发此代码的错误?
Why is protected constructor raising an error this this code?(为什么受保护的构造函数会引发此代码的错误?)...
2023-09-27 C/C++开发问题
1