开源使用者 标签

使用 dynamic_cast 而不是传统的多态性有什么好处?

2022-01-24 00:00:00 polymorphism c++ dynamic-cast

为什么虚函数需要通过指针而不是值(对象)传递?

2022-01-24 00:00:00 inheritance polymorphism c++ virtual-functions object-slicing

当大小是变量而不是常量时如何创建数组?

2022-01-23 00:00:00 c constants c++ array-initialization

调用 const 函数而不是其非 const 版本

2022-01-23 00:00:00 operator-overloading constants c++ overload-resolution const-method

返回对对象的 const 引用而不是副本

2022-01-23 00:00:00 constants c++

g++ 将返回的字符串文字视为 const char 指针而不是 const char 数组

2022-01-23 00:00:00 g++ c++ string-literals

为什么我需要在 g++ 中使用 typedef typename 而不是 VS?

2022-01-23 00:00:00 g++ c++ typedef typename

new 在堆栈而不是堆上(如 alloca 与 malloc)

2022-01-22 00:00:00 stack c++ new-operator

如何在 C++ 中创建一个位于堆而不是堆栈的数组?

2022-01-22 00:00:00 arrays malloc stack c++ heap-memory

使用 std::stack 而不是 deque、vector 或 list 有什么优点和缺点

2022-01-22 00:00:00 containers stack c++ stl

用地址而不是数字填充队列

2022-01-21 00:00:00 arrays queue c++

C++ 创建弹出窗口的问题,而不是获取其他窗口

2022-01-20 00:00:00 api popup window c++

将 std::tuple 用于模板参数列表而不是类型列表

2022-01-20 00:00:00 tuples c++ variadic-templates enable-if template-templates

C ++ 11在运行时索引元组而不使用开关的方法

2022-01-19 00:00:00 tuples c++ c++11

波浪号运算符分别返回 -1、-2 而不是 0、1

2022-01-19 00:00:00 boolean c++ tilde

字符串文字匹配 bool 重载而不是 std::string

2022-01-19 00:00:00 string boolean overloading c++ overload-resolution

为什么布尔值是 1 字节而不是 1 位大小?

2022-01-19 00:00:00 byte boolean c++ cpu-architecture abi

当另一个线程可能设置它(最多一次)时,可以读取共享布尔标志而不锁定它吗?

2022-01-19 00:00:00 multithreading boolean locking c++ monitor

C++ bool 返回 0 1 而不是 true false

2022-01-19 00:00:00 boolean overloading c++

写入套接字时使用 write() 而不是 send() 的性能影响

2022-01-19 00:00:00 sockets network-programming c++
  • «
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • »

友情链接: 雨伦博客   雅安论坛

京ICP备15023317号-6