Android-cuttlefish cvd tool
Classes | Namespaces | Typedefs | Functions
storage_literals.h File Reference
#include <stdint.h>
#include <stdlib.h>
Include dependency graph for storage_literals.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  android::storage_literals::Size< Power >
 

Namespaces

namespace  android
 
namespace  android::storage_literals
 

Typedefs

using android::storage_literals::B = Size< 0 >
 
using android::storage_literals::KiB = Size< 10 >
 
using android::storage_literals::MiB = Size< 20 >
 
using android::storage_literals::GiB = Size< 30 >
 
using android::storage_literals::TiB = Size< 40 >
 

Functions

constexpr B android::storage_literals::operator""_B (unsigned long long v)
 
constexpr KiB android::storage_literals::operator""_KiB (unsigned long long v)
 
constexpr MiB android::storage_literals::operator""_MiB (unsigned long long v)
 
constexpr GiB android::storage_literals::operator""_GiB (unsigned long long v)
 
constexpr TiB android::storage_literals::operator""_TiB (unsigned long long v)
 
template<typename Dest , typename Src >
constexpr Dest android::storage_literals::size_cast (Src src)