POB_2019/zad7_3.cpp

20 lines
324 B
C++
Raw Normal View History

2019-05-05 21:01:16 +02:00
#include <iostream>
using namespace std;
template <typename type>
class Array {
private:
type* ptrs;
Array(){}
~Array(){}
public:
Array& operator new [](){
Array();
return *this;
}
void operator delete [](){
~Array();
}
}