开源使用者 标签

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

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

static_cast<Derived *>(Base pointer) 是否应该给出编译时错误?

2021-12-31 00:00:00 casting c++

const_cast 与 static_cast

2021-12-31 00:00:00 constants casting implicit-conversion c++

const_cast 安全吗?

2021-12-31 00:00:00 casting c++ const-cast

static_cast<> 和 static_cast<> 和有什么区别?和 C 风格的铸造?

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

C++ 中的 dynamic_cast 和 static_cast

2021-12-31 00:00:00 casting c++ dynamic-cast

为什么不 reinterpret_cast 强制 copy_n 用于相同大小类型之间的转换?

2021-12-31 00:00:00 复制 binary casting c++ reinterpret-cast

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

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

使用带有引用和指针的 dynamic_cast 时的行为差异

2021-12-31 00:00:00 casting c++ dynamic-cast

如果从不通过它们修改对实际 const 对象的引用,是否允许 const-casting 掉其常量性?

2021-12-31 00:00:00 language-lawyer constants interface c++

“this"的dynamic_cast内部构造函数

2021-12-30 00:00:00 multiple-inheritance constructor this c++ dynamic-cast

在 C++ 中使用 boost::lexical_cast 将双精度转换为字符串?

2021-12-24 00:00:00 string c++ boost

static_cast 和 Implicit_cast 有什么区别?

2021-12-24 00:00:00 c++ boost static-cast boost-implicit-cast

boost::lexical_cast 性能很差

2021-12-24 00:00:00 c++ boost lexical-cast

static_cast 和 reinterpret_cast 有什么区别?

2021-12-23 00:00:00 c struct casting c++

内联调用 always_inline '__m256d _mm256_broadcast_sd(const double*)' 失败

2021-12-18 00:00:00 gcc c++ intrinsics avx x86

reinterpret_cast 会导致未定义的行为吗?

2021-12-13 00:00:00 templates c++ reinterpret-cast

C++:为什么 const_cast 是邪恶的?

2021-12-13 00:00:00 pointers constants casting c++ const-cast

const_cast 的奇怪行为

2021-12-13 00:00:00 pointers casting c++

std::lexical_cast - 有这样的事情吗?

2021-12-13 00:00:00 parsing casting c++ c++-standard-library std
  • «
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • »

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

京ICP备15023317号-6