Loading...
Searching...
No Matches
Go to the documentation of this file. 1#ifndef NNGN_UTILS_LITERALS_H
2#define NNGN_UTILS_LITERALS_H
11inline constexpr auto operator ""_uc(
unsigned long long int i) {
12 return static_cast<unsigned char>(
i);
15inline constexpr auto operator ""_u8(
unsigned long long int i) {
16 return static_cast<std::uint8_t
>(
i);
19inline constexpr auto operator ""_u16(
unsigned long long int i) {
20 return static_cast<std::uint16_t
>(
i);
23inline constexpr auto operator ""_u32(
unsigned long long int i) {
24 return static_cast<std::uint32_t
>(
i);
27inline constexpr auto operator ""_z(
unsigned long long int i) {
28 return static_cast<std::size_t
>(
i);
31inline constexpr auto operator ""_t(
unsigned long long int i) {
32 return static_cast<std::ptrdiff_t
>(
i);
35template<nngn::fixed_
string s>
36inline constexpr auto operator ""_s(
void) {
for i
Definition font.lua:5
std::chrono::seconds s
Definition timing.cpp:6