File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 33#include < stdint.h>
44#include < stddef.h> // size_t
55
6- [[nodiscard]] inline constexpr uint64_t operator " " _u64(unsigned long long value)
6+ [[nodiscard]] inline constexpr uint64_t operator " " _u64(unsigned long long value)
77{
88 return static_cast <uint64_t >(value);
99}
1010
11- [[nodiscard]] inline constexpr size_t operator " " _z(unsigned long long value)
11+ [[nodiscard]] inline constexpr size_t operator " " _z(unsigned long long value)
1212{
1313 return static_cast <size_t >(value);
1414}
1515
16- [[nodiscard]] inline constexpr int64_t operator " " _i64(unsigned long long value)
16+ [[nodiscard]] inline constexpr int64_t operator " " _i64(unsigned long long value)
1717{
1818 return static_cast <int64_t >(value);
1919}
2020
21- [[nodiscard]] inline constexpr uint16_t operator " " _u16(unsigned long long value)
21+ [[nodiscard]] inline constexpr uint16_t operator " " _u16(unsigned long long value)
2222{
2323 return static_cast <uint16_t >(value);
2424}
2525
26- [[nodiscard]] inline constexpr int16_t operator " " _i16(unsigned long long value)
26+ [[nodiscard]] inline constexpr int16_t operator " " _i16(unsigned long long value)
2727{
2828 return static_cast <int16_t >(value);
2929}
You can’t perform that action at this time.
0 commit comments