Commit b4648917 authored by neverlord's avatar neverlord

allow pointers in fixed vector

parent 9ee3fc8a
......@@ -51,7 +51,8 @@ template<typename T, size_t MaxSize>
class fixed_vector
{
static_assert(std::is_arithmetic<T>::value, "T must be an arithmetic type");
static_assert(std::is_arithmetic<T>::value || std::is_pointer<T>::value,
"T must be an arithmetic or pointer type");
size_t m_size;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment