开源使用者 标签

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

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

为什么编译这个 C++ 代码片段(非 void 函数不返回值)

2021-12-23 00:00:00 methods c++ c++11 visual-studio-2012

为什么 Visual C++ 在 C 中对从 const void ** 到 void * 的隐式转换发出警告,但在 C++ 中没有警告?

2021-12-22 00:00:00 visual-studio c visual-c++ constants c++

如何在不违反 C++ 核心准则的情况下将整数转换为 void*?

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

constexpr 和使用重新解释强制转换的静态 const void 指针的初始化,哪个编译器是正确的?

2021-12-18 00:00:00 gcc clang c++ c++11 constexpr

应该 std::unique_ptr<void>被允许

2021-12-14 00:00:00 gcc c++ c++11 visual-studio-2010 unique-ptr

void_t“可以实现概念"?

2021-12-13 00:00:00 templates c++ c++11 c++-concepts template-meta-programming

为什么指向 int 的指针转换为 void* 而指向函数的指针转换为 bool?

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

"void *(*)(void *)"是什么意思在 C++ 中是什么意思?

2021-12-13 00:00:00 pointers function-pointers c++ pthreads void-pointers

在 void * 和指向成员函数的指针之间进行转换

2021-12-13 00:00:00 pointers lua c++ pointer-to-member

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

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

为什么我们需要在 C++ 中使用 `int main` 而不是 `void main`?

2021-12-07 00:00:00 function main return-value c++

C/C++ 中 void main 和 int main 的区别?

2021-12-07 00:00:00 function main c standards c++

C++模板std::tuple到VOID*并返回

2022-08-13 00:00:00 templates c++ c++11 variadic-templates

为什么 main 方法是 public static void ?

2019-11-03 00:00:00 main public 方法

解读C语言非void函数却没有return会怎么样

2023-02-24 17:02:21 函数 解读 却没有

解读C语言非void函数却没有return会怎么样

2023-02-24 17:02:21 函数 解读 却没有
  • «
  • 1
  • 2
  • 3
  • »

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

京ICP备15023317号-6