Skip to content
Snippets Groups Projects
Commit 4d04203c authored by 数学の武士's avatar 数学の武士
Browse files

Add return hold buffer if function

parent e14d78c6
Branches
No related tags found
No related merge requests found
......@@ -42,5 +42,6 @@ public:
const void* ptr() const;
void free_memory();
int get_size() const;
int get_id() const;
void get_memory(const size_t required_size);
};
\ No newline at end of file
......@@ -103,6 +103,12 @@ int memBuf<mem, choose_type>::get_size() const
return size;
}
template< MemType mem, buf_choose_policy choose_type >
int memBuf<mem, choose_type>::get_id() const
{
return id;
}
template< MemType mem, buf_choose_policy choose_type >
memBuf<mem, choose_type>::memBuf()
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment