//好吧,败给你了,回来上电脑。
#include <vector>
//sth. else...
template <typename T>
class Matrix
{
public:
//sth. else...
typedef std::vector::size_type index;
T& operator()(index x, index y)
{ return this->data[x][y]; }
//sth. else...
private:
std::vector<std::vector<T> > data;
//sth. else...
};
#include <vector>
//sth. else...
template <typename T>
class Matrix
{
public:
//sth. else...
typedef std::vector::size_type index;
T& operator()(index x, index y)
{ return this->data[x][y]; }
//sth. else...
private:
std::vector<std::vector<T> > data;
//sth. else...
};



