Skip to content

Instantly share code, notes, and snippets.

View ucasfl's full-sized avatar
👋
Focusing

flynn ucasfl

👋
Focusing
View GitHub Profile
#include <algorithm>
#include <functional>
#include <iostream>
#include <memory>
#include <vector>
#if 0
template <typename F>
void myfunc(int a, int b, F f)
{
#include <iostream>
#include <vector>
using namespace std;
template <typename T, size_t dim1, size_t dim2>
class array2dref
{
public:
array2dref(T * data_) : data(data_) {}