types/bits: add bytes_uint_t and bits_uint_t
This commit is contained in:
parent
c7ce526383
commit
d323197459
@ -69,5 +69,12 @@ namespace util {
|
||||
template <typename T>
|
||||
struct sized_type : public bits_type<sizeof(T) * 8u>
|
||||
{ };
|
||||
|
||||
|
||||
template <std::size_t Size>
|
||||
using bits_uint_t = typename bits_type<Size>::uint;
|
||||
|
||||
template <std::size_t Size>
|
||||
using bytes_uint_t = typename bytes_type<Size>::uint;
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user