C/C++开发问题


基于作用域的锁守卫和返回值的时间安排
Timing of scope-based lock guards and return values(基于作用域的锁守卫和返回值的时间安排)...
2023-10-17 C/C++开发问题
3

C++ 中的 decltype 和作用域运算符
decltype and the scope operator in C++(C++ 中的 decltype 和作用域运算符)...
2023-10-17 C/C++开发问题
4

为什么这个 C++ 工作?(同名变量)
Why is this c++ working? (variables with the same name)(为什么这个 C++ 工作?(同名变量))...
2023-10-17 C/C++开发问题
4

文件作用域和全局作用域的区别
Difference between File Scope and Global Scope(文件作用域和全局作用域的区别)...
2023-10-17 C/C++开发问题
3

从另一个文件访问 C++ 中的外部变量
Access extern variable in C++ from another file(从另一个文件访问 C++ 中的外部变量)...
2023-10-17 C/C++开发问题
9

在函数作用域(生命周期)之后,对临时对象的 const 引用被破坏
const reference to a temporary object becomes broken after function scope (life time)(在函数作用域(生命周期)之后,对临时对象的 const 引用被破坏)...
2023-10-17 C/C++开发问题
4

C++ 中的作用域和返回值
Scope and return values in C++(C++ 中的作用域和返回值)...
2023-10-17 C/C++开发问题
2

混合外部和常量
Mixing extern and const(混合外部和常量)...
2023-10-17 C/C++开发问题
3

如何访问在另一个函数中的一个函数中定义和声明的变量?
How to access variables defined and declared in one function in another function?(如何访问在另一个函数中的一个函数中定义和声明的变量?)...
2023-10-17 C/C++开发问题
13

为什么未命名的 C++ 对象会在作用域块结束之前销毁?
Why do un-named C++ objects destruct before the scope block ends?(为什么未命名的 C++ 对象会在作用域块结束之前销毁?)...
2023-10-17 C/C++开发问题
5

为什么我的 HelloWorld 函数没有在这个范围内声明?
Why is my HelloWorld function not declared in this scope?(为什么我的 HelloWorld 函数没有在这个范围内声明?)...
2023-10-17 C/C++开发问题
2

有没有办法在 C++ 中访问外部作用域中的局部变量?
Is there any way to access a local variable in outer scope in C++?(有没有办法在 C++ 中访问外部作用域中的局部变量?)...
2023-10-17 C/C++开发问题
4