开源使用者
标签
std::string length() 和 size() 成员函数
2022-01-07 00:00:00
string
size
c++
stl
为什么使用 std::auto_ptr<> 是错误的?使用标准容器?
2022-01-07 00:00:00
c++
stl
c++-faq
raii
auto-ptr
初始化一个静态 std::map<int, int>在 C++ 中
2022-01-07 00:00:00
c++
stl
stdmap
为什么我们需要在重载时返回对 istream/ostream 的引用 >>并且<<运营商?
2022-01-05 00:00:00
reference
stream
operator-overloading
c++
为什么按位移位(<< 和 >>)用于 cout 和 cin?
2022-01-04 00:00:00
operators
io
c++
如何使用类似`std::basic_istream<std::byte>`
2022-01-04 00:00:00
io
c++
c++17
std
编译> 2 GB的代码时如何修复GCC编译错误?
2021-12-31 00:00:00
gcc
math
compiler-errors
c++
code-size
为什么 vector<bool>::reference 不返回对 bool 的引用?
2021-12-31 00:00:00
compiler-errors
g++
c++
错误 C2679:二进制“>>": 没有找到使用“std::string"类型的右侧操作数的运算符(或者没有可接受的转换)
2021-12-31 00:00:00
cygwin
compiler-errors
visual-c++
c++
static_cast<T> 是什么?对 T& 做些什么?
2021-12-31 00:00:00
reference
casting
c++
static-cast
rvalue
static_cast<Derived *>(Base pointer) 是否应该给出编译时错误?
2021-12-31 00:00:00
casting
c++
如何从 <chrono> 获取持续时间,如 int 毫秒和浮点秒数?
2021-12-31 00:00:00
timer
c++
c++11
chrono
传递 shared_ptr<Derived>作为 shared_ptr<Base>
2021-12-31 00:00:00
casting
c++
c++11
shared-ptr
smart-pointers
static_cast<> 和 static_cast<> 和有什么区别?和 C 风格的铸造?
2021-12-31 00:00:00
casting
c++
static-cast
为什么 std::numeric_limits<long long>::max() 失败?
2021-12-30 00:00:00
windows
max
c++
stl
visual-studio-2015
我如何获取和使用头文件 <graphics.h>在我的 C++ 程序中?
2021-12-30 00:00:00
graphics
c++
如何修复“<hash_map>已弃用,将被删除.请使用<unordered_map>>"?
2021-12-30 00:00:00
c++
visual-studio-2015
矢量<unique_ptr<A>>使用初始化列表
2021-12-30 00:00:00
constructor
containers
c++
c++11
unique-ptr
什么时候调用它是安全的->在构造函数和析构函数中
2021-12-30 00:00:00
constructor
destructor
c++
c++11
正确使用 Eigen::Ref>班级
2021-12-29 00:00:00
pass-by-reference
parameters
c++
eigen
eigen3
«
33
34
35
36
37
38
39
40
41
42
»