开源使用者 标签

你什么时候更喜欢使用 std::list<T>而不是 std::vector<T>?

2022-01-07 00:00:00 containers c++ stl

为什么是“!="?与迭代器一起使用而不是“<"?

2022-01-07 00:00:00 iterator comparison-operators c++ stl

为什么标准迭代器范围是 [begin, end) 而不是 [begin, end]?

2022-01-07 00:00:00 standards iterator c++ stl

如何使 std::vector 的 operator[] 编译在 DEBUG 中进行边界检查而不是在 RELEASE 中

2022-01-05 00:00:00 visual-studio-2008 c++ bounds-checker

为什么在 C++ 中的容器中存储引用(而不是指针)不起作用?

2022-01-05 00:00:00 reference containers c++ stl

如何使用 cout 打印 0x0a 而不是 0xa?

2022-01-04 00:00:00 io iostream c++ iomanip

C++ 中的链表使用引用而不是指针

2022-01-01 00:00:00 linked-list data-structures reference c++

为什么链表使用指针而不是将节点存储在节点内

2022-01-01 00:00:00 linked-list pointers c++

Constexpr 编译错误使用 std::acos 和 clang++ 而不是 g++

2021-12-31 00:00:00 compiler-errors c++ constexpr c++14 clang++

我可以使用 #include "pch.h" 吗?而不是 #include "stdafx.h";作为我在 Visual Studio C++ 中的预编译头文件?

2021-12-31 00:00:00 visual-studio compiler-errors c++

C++ 什么时候我们应该更喜欢使用两个链接的 static_cast 而不是 reinterpret_cast

2021-12-31 00:00:00 casting c++ static-cast reinterpret-cast

通过 void* 进行转换,而不是使用 reinterpret_cast

2021-12-31 00:00:00 language-lawyer casting c++ reinterpret-cast void-pointers

使用引用而不是指针是否可以解决 C++ 中的内存泄漏问题?

2021-12-31 00:00:00 reference memory-leaks c++

为什么必须在构造函数初始值设定项中而不是在其主体中初始化 const 成员?

2021-12-30 00:00:00 initialization constructor constants c++

为什么具有固定基础类型 char 的枚举值解析为 fct(int) 而不是 fct(char)?

2021-12-29 00:00:00 enums overloading c++ c++11 overload-resolution

为什么允许通过常量引用而不是通过普通引用传递 R 值?

2021-12-29 00:00:00 parameters literals c++ pass-by-const-reference

包含 .cpp 而不是 header(.h)

2021-12-28 00:00:00 build c++ header-files

如何让 CMake 在 Mac OS X 上使用 GCC 而不是 Clang?

2021-12-26 00:00:00 cmake c++

什么是 uint_fast32_t,为什么要使用它而不是常规的 int 和 uint32_t?

2021-12-25 00:00:00 c types c++

为什么 C++ 流使用 char 而不是 unsigned char?

2021-12-25 00:00:00 overflow stream types iostream c++
  • «
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • »

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

京ICP备15023317号-6