How can i create generic dynamic array?

前端 未结 0 1088
醉酒成梦
醉酒成梦 2021-01-12 08:34

Hello i have this IntArray i want to convert to accept generic types:

class IntArray {

private:
    int* first_cell = nullptr;
    int size = 0; // currently         


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