summaryrefslogtreecommitdiff
path: root/starts/meaning-vm/level-0/memorystore.hpp
blob: 8958ae74d0f56986134471fec7776a4de456e432 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#pragma once

#include "common.hpp"
#include "value.hpp"

namespace intellect {
namespace level0 {

concept * alloc(concept * moved = 0);
template <typename T>
value<T> * valloc(T const & v) { return static_cast<value<T>*>(alloc(new value<T>(v))); }
void dealloc(concept*);
std::size_t allocated();

}
}