开源使用者
标签
我什么时候会通过 const&std::string 而不是 std::string_view?
2022-01-07 00:00:00
string
parameter-passing
c++
stl
string-view
有没有比 std::remove_if 更好的替代方法来从向量中删除元素?
2022-01-07 00:00:00
c++
c++11
stl
c++17
erase-remove-idiom
根据 C++ 规范,std::set 迭代顺序是否总是升序?
2022-01-07 00:00:00
set
c++
stl
将 emplace 与 std::fill 等算法一起使用
2022-01-07 00:00:00
c++
c++11
stl
stl-algorithm
__STDC_LIMIT_MACROS 和 __STDC_CONSTANT_MACROS 是什么意思?
2022-01-07 00:00:00
macros
c++
stl
std::next_permutation 的摊销复杂度?
2022-01-07 00:00:00
algorithm
permutation
big-o
c++
stl
如何在迭代时从 std::set 中删除元素
2022-01-07 00:00:00
set
coding-style
c++
stl
std::set 中的索引或位置
2022-01-07 00:00:00
c++
stl
在移动赋值和移动构造函数方面实现 std::swap
2022-01-07 00:00:00
c++
c++11
stl
move-semantics
在类方法实现的主体中使用 std::swap 是什么意思?
2022-01-07 00:00:00
using
c++
stl
std
argument-dependent-lookup
指向 std::vector 和 std::list 元素的指针
2022-01-07 00:00:00
pointers
c++
stdvector
stl
std::vector 插入的摊销分析
2022-01-07 00:00:00
algorithm
c++
stdvector
stl
amortized-analysis
你什么时候更喜欢使用 std::list<T>而不是 std::vector<T>?
2022-01-07 00:00:00
containers
c++
stl
使用 std::deque 或 std::priority_queue 线程安全吗?
2022-01-07 00:00:00
thread-safety
deque
priority-queue
c++
stl
`std::set` 有什么问题?
2022-01-07 00:00:00
string
set
c++
stl
remove-if
如何在 std::set 中查找具有特定字段值的对象?
2022-01-07 00:00:00
set
find
c++
stl
我应该在哪里定义操作符 >>对于我对 std::pair 的专业化?
2022-01-07 00:00:00
c++
stl
template-specialization
argument-dependent-lookup
使用 std::sort 对集合进行排序
2022-01-07 00:00:00
set
c++
stl
为什么不能将前向声明用于 std::vector?
2022-01-07 00:00:00
c++
stl
从 C++11 中的函数调用返回 std::vector 的正确方法(移动语义)
2022-01-07 00:00:00
c++
c++11
stl
move-semantics
return-value-optimization
«
15
16
17
18
19
20
21
22
23
24
»