Flutter Impeller
impeller::allocation_size_literals Namespace Reference

Functions

constexpr Bytes operator""_bytes (unsigned long long int size)
 
constexpr KiloBytes operator""_kb (unsigned long long int size)
 
constexpr MegaBytes operator""_mb (unsigned long long int size)
 
constexpr GigaBytes operator""_gb (unsigned long long int size)
 
constexpr KibiBytes operator""_kib (unsigned long long int size)
 
constexpr MebiBytes operator""_mib (unsigned long long int size)
 
constexpr GibiBytes operator""_gib (unsigned long long int size)
 

Function Documentation

◆ operator""_bytes()

constexpr Bytes impeller::allocation_size_literals::operator""_bytes ( unsigned long long int  size)
constexpr

Definition at line 164 of file allocation_size.h.

164  {
165  return Bytes{size};
166 }

◆ operator""_gb()

constexpr GigaBytes impeller::allocation_size_literals::operator""_gb ( unsigned long long int  size)
constexpr

Definition at line 179 of file allocation_size.h.

179  {
180  return GigaBytes{size};
181 }

◆ operator""_gib()

constexpr GibiBytes impeller::allocation_size_literals::operator""_gib ( unsigned long long int  size)
constexpr

Definition at line 194 of file allocation_size.h.

194  {
195  return GibiBytes{size};
196 }

◆ operator""_kb()

constexpr KiloBytes impeller::allocation_size_literals::operator""_kb ( unsigned long long int  size)
constexpr

Definition at line 169 of file allocation_size.h.

169  {
170  return KiloBytes{size};
171 }

◆ operator""_kib()

constexpr KibiBytes impeller::allocation_size_literals::operator""_kib ( unsigned long long int  size)
constexpr

Definition at line 184 of file allocation_size.h.

184  {
185  return KibiBytes{size};
186 }

◆ operator""_mb()

constexpr MegaBytes impeller::allocation_size_literals::operator""_mb ( unsigned long long int  size)
constexpr

Definition at line 174 of file allocation_size.h.

174  {
175  return MegaBytes{size};
176 }

◆ operator""_mib()

constexpr MebiBytes impeller::allocation_size_literals::operator""_mib ( unsigned long long int  size)
constexpr

Definition at line 189 of file allocation_size.h.

189  {
190  return MebiBytes{size};
191 }
impeller::KiloBytes
AllocationSize< 1 '000u > KiloBytes
Definition: allocation_size.h:153
impeller::MebiBytes
AllocationSize< 1 '024u *1 '024u > MebiBytes
Definition: allocation_size.h:158
impeller::GibiBytes
AllocationSize< 1 '024u *1 '024u *1 '024u > GibiBytes
Definition: allocation_size.h:159
impeller::KibiBytes
AllocationSize< 1 '024u > KibiBytes
Definition: allocation_size.h:157
impeller::MegaBytes
AllocationSize< 1 '000u *1 '000u > MegaBytes
Definition: allocation_size.h:154
impeller::GigaBytes
AllocationSize< 1 '000u *1 '000u *1 '000u > GigaBytes
Definition: allocation_size.h:155
impeller::Bytes
AllocationSize< 1u > Bytes
Definition: allocation_size.h:151