tetl 0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
uint_t.hpp
Go to the documentation of this file.
1// SPDX-License-Identifier: BSL-1.0
2
3#ifndef TETL_CSTDINT_UINT_T_HPP
4#define TETL_CSTDINT_UINT_T_HPP
5
6#include <etl/_config/all.hpp>
7
8namespace etl {
9
12
15
18
21
22} // namespace etl
23
24static_assert(sizeof(etl::uint8_t) == 1, "uint8_t size should be 1");
25static_assert(sizeof(etl::uint16_t) == 2, "uint16_t size should be 2");
26static_assert(sizeof(etl::uint32_t) == 4, "uint32_t size should be 4");
27static_assert(sizeof(etl::uint64_t) == 8, "uint64_t size should be 8");
28
29#endif // TETL_CSTDINT_UINT_T_HPP
#define TETL_BUILTIN_UINT64
Definition builtin_types.hpp:30
#define TETL_BUILTIN_UINT16
Definition builtin_types.hpp:28
#define TETL_BUILTIN_UINT8
Definition builtin_types.hpp:27
#define TETL_BUILTIN_UINT32
Definition builtin_types.hpp:29
Definition adjacent_find.hpp:8
TETL_BUILTIN_UINT16 uint16_t
Unsigned integer type with width of exactly 16 bits.
Definition uint_t.hpp:14
TETL_BUILTIN_UINT64 uint64_t
Unsigned integer type with width of exactly 64 bits.
Definition uint_t.hpp:20
TETL_BUILTIN_UINT8 uint8_t
Unsigned integer type with width of exactly 8 bits.
Definition uint_t.hpp:11
TETL_BUILTIN_UINT32 uint32_t
Unsigned integer type with width of exactly 32 bits.
Definition uint_t.hpp:17