typedef _StructTest{

    ....

}StructTest, *PStructTest;

 

PStructTest pStruct = new StructTest

reinterpret_cast<const char*>(&pStruct)    // ---   额额额额额

 

已经是一级指针了, 被本挫人引用成二级指针然后再转成一级指针来用, 结果很悲剧, 查了大半天............

 

 

wwwwwwwwwwwwwwwwwwwww

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-06-22
猜你喜欢
  • 2021-10-09
  • 2021-12-04
  • 2021-05-16
  • 2022-12-23
  • 2021-11-05
  • 2022-12-23
  • 2021-06-06
相关资源
相似解决方案