开源使用者
标签
为什么我应该在函数签名中避免 std::enable_if
2021-12-13 00:00:00
templates
c++
c++11
sfinae
enable-if
何时使用 std::forward 转发参数?
2021-12-13 00:00:00
templates
c++
forwarding
c++11
使用 std::enable_if 作为模板时的默认模板参数.参数:为什么两个模板函数只在 enable_if 参数上不同?
2021-12-13 00:00:00
templates
c++
c++11
enable-if
使用 std::is_same,为什么我的函数仍然不能用于 2 种类型
2021-12-13 00:00:00
types
templates
c++
std::function 与模板
2021-12-13 00:00:00
templates
c++
c++11
std-function
为什么 std::cout 将 volatile 指针转换为 bool?
2021-12-13 00:00:00
pointers
iostream
c++
standards-compliance
volatile
std::reference_wrapper 和简单指针的区别?
2021-12-13 00:00:00
reference
pointers
c++
c++11
reference-wrapper
如何返回 std::string.c_str()
2021-12-13 00:00:00
string
return
pointers
c++
c++11
如何检查 C++ std::string 是否以某个字符串开头,并将子字符串转换为 int?
2021-12-12 00:00:00
string
parsing
startswith
substring
c++
std::lexical_cast - 有这样的事情吗?
2021-12-13 00:00:00
parsing
casting
c++
c++-standard-library
std
C++17 std::optional 错误:'auto' 之前的预期主表达式
2021-12-12 00:00:00
if-statement
c++
c++17
stdoptional
是通过 const std::string & 的日子吗?作为参数结束?
2021-12-12 00:00:00
c++
c++11
什么时候应该在函数返回值上使用 std::move ?
2021-12-12 00:00:00
c++
c++11
move-semantics
我应该使用 std::for_each 吗?
2021-12-11 00:00:00
lambda
for-loop
foreach
c++
stl
将一行 cv::Mat 转换为 std::vector
2021-12-10 00:00:00
opencv
复制
vector
c++
OpenCV cv::Mat 到 std::ifstream 用于 base64 编码
2021-12-10 00:00:00
opencv
stream
base64
c++
如何将 std::chrono::time_point 转换为带小数秒的日历日期时间字符串?
2021-12-11 00:00:00
datetime
c++
c++11
chrono
std
如何首先按值对 std::map 排序,然后按键排序?
2021-12-10 00:00:00
dictionary
algorithm
sorting
key
c++
排序 std::vector<std::pair<std::string,bool>>通过字符串?
2021-12-10 00:00:00
sorting
vector
c++
stl
std-pair
为什么 std::map 实现为红黑树?
2021-12-10 00:00:00
dictionary
data-structures
binary-search-tree
c++
stl
«
34
35
36
37
38
39
40
41
42
43
»