开源使用者 标签

转换为 void* 并返回 Original_Data_Type*

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

错误:从“void*"转换为“int"失去精度

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

强制转换为 `void` 到底有什么作用?

2021-12-31 00:00:00 casting void c++ suppress-warnings compiler-warnings

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

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

为什么 Visual Studio 在这种情况下不执行返回值优化 (RVO)

2021-12-31 00:00:00 c++ c++11 visual-studio-2013 move-semantics rvo

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

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

RVO 是否适用于对象成员?

2021-12-22 00:00:00 visual-c++ c++ c++11 return-value-optimization c++14

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

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

如果我们已经有了 RVO,移动语义会提供什么优化?

2021-12-20 00:00:00 optimization c++ c++11 move-semantics

移动或命名返回值优化 (NRVO)?

2021-12-20 00:00:00 optimization c++ c++11 move-semantics return-value-optimization

'volatile' 在 C++ 中阻止了哪些优化?

2021-12-20 00:00:00 optimization c++ volatile

如何在不违反 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

为什么 std::cout 将 volatile 指针转换为 bool?

2021-12-13 00:00:00 pointers iostream c++ standards-compliance volatile

"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
  • «
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • »

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

京ICP备15023317号-6