开源使用者 标签

我应该在 C 样式转换上使用 C++ reinterpret_cast 吗?

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

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++

为什么不 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

共享内存中带有 boost::interprocess 分配器的 std::unordered_map - 缺点?

2021-12-24 00:00:00 containers c++ stl boost interprocess

制作 boost::interprocess 共享内存对象的非共享副本

2021-12-24 00:00:00 shared-memory c++ boost

我如何获得废弃的 boost::interprocess::interprocess_mutex 的所有权?

2021-12-24 00:00:00 concurrency synchronization c++ boost boost-interprocess

想要有效地克服 Boost.Interprocess 共享内存中映射中键类型之间的不匹配

2021-12-24 00:00:00 shared-memory c++ boost

static_cast 和 reinterpret_cast 有什么区别?

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

即使找到接口,CoCreateInstance 也返回 E_NOINTERFACE

2021-12-22 00:00:00 windows com visual-c++ c++ com-interop

在具有多个接口的对象中实现 QueryInterface() 时,为什么我需要显式向上转换()

2021-12-22 00:00:00 multiple-inheritance com visual-c++ c++

什么是 glibc free/malloc/realloc invalid next size/invalid pointer error 以及如何修复它?

2021-12-21 00:00:00 memory c c++ glibc

glVertexAttribPointer 覆盖

2021-12-19 00:00:00 opengl c++

如何在 tkinter 中创建模态对话框?

2021-12-15 00:00:00 python python-3.x tkinter mfc

为什么我会得到 _CrtIsValidHeapPointer(block) 和/或 is_block_type_valid(header->_block_use) 断言?

2021-12-14 00:00:00 debugging c visual-c++ c++

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

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

*(Pointer + Index) 和 Pointer[] 的区别

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

我应该在将 void* 转换为任何内容时使用 static_cast 还是 reinterpret_cast

2021-12-13 00:00:00 pointers c++ static-cast reinterpret-cast

我可以使用 if (pointer) 而不是 if (pointer != NULL) 吗?

2021-12-12 00:00:00 pointers null if-statement c++ null-pointer
  • «
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • »

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

京ICP备15023317号-6