C/C++开发问题


跨文件共享静态变量:命名空间与类
Sharing static variables across files: namespace vs class(跨文件共享静态变量:命名空间与类)...
2023-12-02 C/C++开发问题
5

如何定义线程局部局部静态变量?
How to define thread-local local static variables?(如何定义线程局部局部静态变量?)...
2023-12-02 C/C++开发问题
2

在 C++ 中我应该把常量字符串放在哪里:静态类成员还是匿名命名空间?
Where do I put constant strings in C++: static class members or anonymous namespaces?(在 C++ 中我应该把常量字符串放在哪里:静态类成员还是匿名命名空间?)...
2023-12-02 C/C++开发问题
3

我可以在运行时在 C++ 中初始化静态常量成员吗?
Can I initialize a static const member at run-time in C++?(我可以在运行时在 C++ 中初始化静态常量成员吗?)...
2023-12-02 C/C++开发问题
3

在 .h 文件中定义的模板类静态成员变量会发生什么
What should happen to template class static member variables with definition in the .h file(在 .h 文件中定义的模板类静态成员变量会发生什么)...
2023-12-02 C/C++开发问题
10

如何在 C/C++ 中使用静态链接与 OpenSSL
How to use static linking with OpenSSL in C/C++(如何在 C/C++ 中使用静态链接与 OpenSSL)...
2023-12-02 C/C++开发问题
5

派生类如何从基类继承静态函数?
How can Derived class inherit a static function from Base class?(派生类如何从基类继承静态函数?)...
2023-12-02 C/C++开发问题
4

是否可以将友元函数声明为静态函数?
Is it possible to declare a friend function as static?(是否可以将友元函数声明为静态函数?)...
2023-12-02 C/C++开发问题
5

我什么时候会在 C++ 中使用 const volatile、register volatile、static vola
When would I use const volatile, register volatile, static volatile in C++?(我什么时候会在 C++ 中使用 const volatile、register volatile、static volatile?)...
2023-12-02 C/C++开发问题
2

为什么“静态"关键字在 C 和 C++ 中有这么多含义?
Why does the quot;staticquot; keyword have so many meanings in C and C++?(为什么“静态关键字在 C 和 C++ 中有这么多含义?)...
2023-12-02 C/C++开发问题
2

C++ 静态虚拟方法的替代方法
Alternative to c++ static virtual methods(C++ 静态虚拟方法的替代方法)...
2023-12-02 C/C++开发问题
2

默认情况下全局变量是 extern 还是等同于在 global 中使用 extern 声明变量?
Are global variables extern by default or is it equivalent to declaring variable with extern in global?(默认情况下全局变量是 extern 还是等同于在 global 中使用 extern 声明变量?)...
2023-12-02 C/C++开发问题
4