Skip to content

Instantly share code, notes, and snippets.

View Zetaeta's full-sized avatar

Daniel Mulcahy Zetaeta

View GitHub Profile
@Zetaeta
Zetaeta / tempy.cpp
Last active December 17, 2015 21:19 — forked from DarTheStrange/tempy.cpp
#include <iostream>
using namespace std;
template<class T>
class array {
T* g = new T[8];
int size = 8;
public:
T& operator[] (int y) {
return g[y];