Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions src/kernel/system/udl.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,42 +15,42 @@
* Allows cross-platform literals with compile-time cast.
*/

constexpr uint64_t operator"" _ui64(unsigned long long x)
constexpr uint64_t operator""_ui64(unsigned long long x)
{
return static_cast<uint64_t>(x);
}

constexpr uint32_t operator"" _ui32(unsigned long long x)
constexpr uint32_t operator""_ui32(unsigned long long x)
{
return static_cast<uint32_t>(x);
}

constexpr uint16_t operator"" _ui16(unsigned long long x)
constexpr uint16_t operator""_ui16(unsigned long long x)
{
return static_cast<uint16_t>(x);
}

constexpr uint8_t operator"" _ui8(unsigned long long x)
constexpr uint8_t operator""_ui8(unsigned long long x)
{
return static_cast<uint8_t>(x);
}

constexpr int64_t operator"" _i64(unsigned long long x)
constexpr int64_t operator""_i64(unsigned long long x)
{
return static_cast<int64_t>(x);
}

constexpr int32_t operator"" _i32(unsigned long long x)
constexpr int32_t operator""_i32(unsigned long long x)
{
return static_cast<int32_t>(x);
}

constexpr int16_t operator"" _i16(unsigned long long x)
constexpr int16_t operator""_i16(unsigned long long x)
{
return static_cast<int16_t>(x);
}

constexpr int8_t operator"" _i8(unsigned long long x)
constexpr int8_t operator""_i8(unsigned long long x)
{
return static_cast<int8_t>(x);
}
Expand Down
Loading