sfizz/sources/Buffer.h

20 lines
280 B
C
Raw Normal View History

2019-07-29 02:13:03 +02:00
#pragma once
#include <type_traits>
template<class Type>
class Buffer
{
static_assert(std::is_arithmetic<Type>::value, "Type should be arithmetic");
public:
Buffer()
{
}
~Buffer()
{
}
private:
size_t realSize;
size_t alignment;
Type* data;
};