libki/include/ki/util/ValueBytes.h

11 lines
132 B
C
Raw Permalink Normal View History

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