libki/include/ki/util/ValueBytes.h

11 lines
132 B
C++

#pragma once
namespace ki
{
template <typename ValueT>
union ValueBytes {
ValueT value = 0;
char buff[sizeof(ValueT)];
};
}