#include <iostream> #include "matrix4.h" using namespace std; int main() { matrix<int> *p = new matrix<int>(10,20); matrix<int> &r = *p; proxy_matrix<int> pm = r[2]; delete p; cout <<pm[3] << endl; return 0; }