Why not always use ::operator new instead of new (without even constructing)?

后端 未结 0 723
一向
一向 2021-02-13 23:39

I\'ve been trying this code, where Vector3 has 3 members x, y, z. In Vector3, I made copies, copies with move etc.

    Vector3* data = (Vector3*)::operator new(2          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题