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

add namespace

parent bd775a10
No related branches found
No related tags found
No related merge requests found
......@@ -2,11 +2,14 @@
#include "TemplateParameters.h"
#include <cstddef>
template <MemType memtype>
bool realloc(void *&array, size_t &allocated_size, const size_t new_size);
namespace memproc
{
template <MemType memtype>
bool realloc(void *&array, size_t &allocated_size, const size_t new_size);
template<MemType memtype>
bool dealloc(void *&array, size_t &allocated_size);
template<MemType memtype>
bool dealloc(void *&array, size_t &allocated_size);
template <MemType dst_memtype, MemType src_memtype>
bool memcopy(void *dst, const void* src, const size_t copy_elem_size);
\ No newline at end of file
template <MemType dst_memtype, MemType src_memtype>
bool memcopy(void *dst, const void* src, const size_t copy_elem_size);
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment