#pragma once #include template class Buffer { static_assert(std::is_arithmetic::value, "Type should be arithmetic"); public: Buffer() { } ~Buffer() { } private: size_t realSize; size_t alignment; Type* data; };