#include <iostream>
#include <array>
template<typename T, std::size_t ... dimensions>
class matrix
{
public:
static constexpr std::size_t size()
{
return 12;
}
matrix() : rows(0), cols(0) {}
~matrix() {};
private:
std::array<T, size()> data;
size_t rows, cols;
};
int main() {
matrix <int, 2, 3>m;
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8YXJyYXk+Cgp0ZW1wbGF0ZTx0eXBlbmFtZSBULCBzdGQ6OnNpemVfdCAuLi4gZGltZW5zaW9ucz4KY2xhc3MgbWF0cml4CnsKcHVibGljOgoJc3RhdGljIGNvbnN0ZXhwciBzdGQ6OnNpemVfdCBzaXplKCkKCXsKCQlyZXR1cm4gMTI7Cgl9CgltYXRyaXgoKSA6IHJvd3MoMCksIGNvbHMoMCkge30KCX5tYXRyaXgoKSB7fTsKcHJpdmF0ZToKCXN0ZDo6YXJyYXk8VCwgc2l6ZSgpPiBkYXRhOwoJc2l6ZV90IHJvd3MsIGNvbHM7Cn07CgppbnQgbWFpbigpIHsKCW1hdHJpeCA8aW50LCAyLCAzPm07CglyZXR1cm4gMDsKfQ==