开源使用者
标签
SFINAE 尝试使用 bool 给出编译器错误:“模板参数‘T::value’涉及模板参数";
2021-12-31 00:00:00
compiler-errors
templates
c++
sfinae
为什么将指针转换为 bool 时会出现性能警告?
2021-12-31 00:00:00
performance
casting
c++
在 C/C++ 中将 int 转换为 bool
2021-12-31 00:00:00
c
boolean
casting
c++
我可以为任何 C++ 编译器假设 (bool)true == (int)1 吗?
2021-12-31 00:00:00
boolean
casting
c++
为什么在 C++ 中存在从指针到 bool 的隐式类型转换?
2021-12-25 00:00:00
types
boolean
implicit
c++
BOOL 和 bool 有什么区别?
2021-12-22 00:00:00
windows
winapi
visual-c++
mfc
为什么编译器选择 bool 而不是 string 来隐式类型转换 L""?
2021-12-22 00:00:00
visual-c++
implicit
c++
explicit
在 C++ 中转换为 bool 对性能有什么影响?
2021-12-22 00:00:00
visual-c++
c++
是 !!在 C++ 中转换为 bool 的安全方法?
2021-12-22 00:00:00
boolean
visual-c++
c++
如何存储向量<bool>或一个位集到文件中,但按位?
2021-12-21 00:00:00
file
vector
c++
bitset
stl
是否使用 std::vector<bool>C++ 中的对象可以接受,还是应该使用替代方法?
2021-12-21 00:00:00
boolean
vector
c++
bitset
stl
为什么不是 vector<bool>STL 容器?
2021-12-21 00:00:00
containers
vector
c++
stl
bitvector
替代 vector<bool>
2021-12-21 00:00:00
boolean
vector
c++
stl
为什么指向 int 的指针转换为 void* 而指向函数的指针转换为 bool?
2021-12-13 00:00:00
pointers
c++
c++11
为什么 std::cout 将 volatile 指针转换为 bool?
2021-12-13 00:00:00
pointers
iostream
c++
standards-compliance
volatile
在 C++ 中使用 bool/fail 将字符串转换为 int
2021-12-12 00:00:00
parsing
c++
c++-faq
如何在 bool 值上编写 `for` 循环(false 和 true)
2021-12-11 00:00:00
for-loop
boolean
c++
排序 std::vector<std::pair<std::string,bool>>通过字符串?
2021-12-10 00:00:00
sorting
vector
c++
stl
std-pair
为什么阿里强制 boolean 类型变量不能使用 is 开头?
2021-10-27 00:00:00
数据
方法
属性
类型
开头
错误信息ERORR,不兼容的类型:int 无法转换为boolean
2022-06-14 00:00:00
转换为
错误信息
不兼容
«
1
2
3
4
5
6
7
»