![]() |
Shamrock 2025.10.0
Astrophysical Code
|
#include <cstddef>#include <cstdint>
Include dependency graph for aliases_int.hpp:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Typedefs | |
| using | i64 = std::int64_t |
| 64 bit integer | |
| using | i32 = std::int32_t |
| 32 bit integer | |
| using | i16 = std::int16_t |
| 16 bit integer | |
| using | i8 = std::int8_t |
| 8 bit integer | |
| using | u64 = std::uint64_t |
| 64 bit unsigned integer | |
| using | u32 = std::uint32_t |
| 32 bit unsigned integer | |
| using | u16 = std::uint16_t |
| 16 bit unsigned integer | |
| using | u8 = std::uint8_t |
| 8 bit unsigned integer | |
| using | usize = std::size_t |
| size_t alias | |
| using | byte = char |
| byte type similar to std::byte | |
Functions | |
| constexpr u8 | operator""_u8 (unsigned long long n) |
| Literal suffix for u8. | |
| constexpr u16 | operator""_u16 (unsigned long long n) |
| Literal suffix for u16. | |
| constexpr u32 | operator""_u32 (unsigned long long n) |
| Literal suffix for u32. | |
| constexpr u64 | operator""_u64 (unsigned long long n) |
| Literal suffix for u64. | |
| constexpr i8 | operator""_i8 (unsigned long long n) |
| Literal suffix for i8. | |
| constexpr i16 | operator""_i16 (unsigned long long n) |
| Literal suffix for i16. | |
| constexpr i32 | operator""_i32 (unsigned long long n) |
| Literal suffix for i32. | |
| constexpr i64 | operator""_i64 (unsigned long long n) |
| Literal suffix for i64. | |
Definition in file aliases_int.hpp.
| using byte = char |
byte type similar to std::byte
Definition at line 32 of file aliases_int.hpp.
| using i16 = std::int16_t |
16 bit integer
Definition at line 24 of file aliases_int.hpp.
| using i32 = std::int32_t |
32 bit integer
Definition at line 23 of file aliases_int.hpp.
| using i64 = std::int64_t |
64 bit integer
Definition at line 22 of file aliases_int.hpp.
| using i8 = std::int8_t |
8 bit integer
Definition at line 25 of file aliases_int.hpp.
| using u16 = std::uint16_t |
16 bit unsigned integer
Definition at line 28 of file aliases_int.hpp.
| using u32 = std::uint32_t |
32 bit unsigned integer
Definition at line 27 of file aliases_int.hpp.
| using u64 = std::uint64_t |
64 bit unsigned integer
Definition at line 26 of file aliases_int.hpp.
| using u8 = std::uint8_t |
8 bit unsigned integer
Definition at line 29 of file aliases_int.hpp.
| using usize = std::size_t |
size_t alias
Definition at line 30 of file aliases_int.hpp.
|
constexpr |
Literal suffix for i16.
Definition at line 54 of file aliases_int.hpp.
|
constexpr |
Literal suffix for i32.
Definition at line 56 of file aliases_int.hpp.
|
constexpr |
Literal suffix for i64.
Definition at line 58 of file aliases_int.hpp.
|
constexpr |
Literal suffix for i8.
Definition at line 52 of file aliases_int.hpp.
|
constexpr |
Literal suffix for u16.
Definition at line 46 of file aliases_int.hpp.
|
constexpr |
Literal suffix for u32.
Definition at line 48 of file aliases_int.hpp.
|
constexpr |
Literal suffix for u64.
Definition at line 50 of file aliases_int.hpp.
|
constexpr |
Literal suffix for u8.
Literal suffixes for integer types
These allow for a more convenient and less error-prone way of specifying integer literals of different types.
Example: 42_u8 // of type u8 0x1_i32 // of type i32
Definition at line 44 of file aliases_int.hpp.