summaryrefslogtreecommitdiff
path: root/starts/meaning-vm/level-2/baseref.hpp
blob: c2bc0d126d4c7ab6fe8f6f4ea58c55d8e03f5e3b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#pragma once

#include "common.hpp"

#include "funcs.hpp"

#include "../level-1/common.hpp"

#include <functional>

namespace intellect {
namespace level2 {

template <typename ref>
struct baseref : public level1::baseref<ref>
{
	using level1::template baseref<ref>::baseref;

	// thread-local context
	static ref context() { return level2::context(); }

};

}
}