summaryrefslogtreecommitdiff
path: root/lib/helpers.cpp
blob: 23cec2a2f150209b94e3e3efa3b0caf45b17fe61 (plain)
1
2
3
4
5
6
7
8
9
10
11
#include "helpers.h"

namespace MyGrate {
	static_assert(std::is_same_v<SmallestUInt<1>, uint8_t>);
	static_assert(std::is_same_v<SmallestUInt<8>, uint8_t>);
	static_assert(std::is_same_v<SmallestUInt<9>, uint16_t>);
	static_assert(std::is_same_v<SmallestUInt<16>, uint16_t>);
	static_assert(std::is_same_v<SmallestUInt<17>, uint32_t>);
	static_assert(std::is_same_v<SmallestUInt<32>, uint32_t>);
	static_assert(std::is_same_v<SmallestUInt<33>, uint64_t>);
}