MT Core (C++)
Core library for replacing C++ standard in project usage
Loading...
Searching...
No Matches
mtcore::units::storage Namespace Reference

Variables

constexpr auto byte = Units<Unit<dimensions::STORAGE>>{}
 
constexpr auto decabyte = Units<Unit<dimensions::STORAGE, std::deca>>{}
 
constexpr auto hectobyte = Units<Unit<dimensions::STORAGE, std::hecto>>{}
 
constexpr auto kilobyte = Units<Unit<dimensions::STORAGE, std::kilo>>{}
 
constexpr auto megabyte = Units<Unit<dimensions::STORAGE, std::mega>>{}
 
constexpr auto gigabyte = Units<Unit<dimensions::STORAGE, std::giga>>{}
 
constexpr auto terabyte = Units<Unit<dimensions::STORAGE, std::tera>>{}
 
constexpr auto petabyte = Units<Unit<dimensions::STORAGE, std::peta>>{}
 
constexpr auto exabyte = Units<Unit<dimensions::STORAGE, std::exa>>{}
 
constexpr auto bit = Units<Unit<dimensions::STORAGE, std::ratio<1, 8>>>{}
 
constexpr auto decabit = Units<Unit<dimensions::STORAGE, math::MultRatios<std::ratio<1, 8>, std::deca>::T>>{}
 
constexpr auto hectobit = Units<Unit<dimensions::STORAGE, math::MultRatios<std::ratio<1, 8>, std::hecto>::T>>{}
 
constexpr auto kilobit = Units<Unit<dimensions::STORAGE, math::MultRatios<std::ratio<1, 8>, std::kilo>::T>>{}
 
constexpr auto megabit = Units<Unit<dimensions::STORAGE, math::MultRatios<std::ratio<1, 8>, std::mega>::T>>{}
 
constexpr auto gigabit = Units<Unit<dimensions::STORAGE, math::MultRatios<std::ratio<1, 8>, std::giga>::T>>{}
 
constexpr auto terabit = Units<Unit<dimensions::STORAGE, math::MultRatios<std::ratio<1, 8>, std::tera>::T>>{}
 
constexpr auto petabit = Units<Unit<dimensions::STORAGE, math::MultRatios<std::ratio<1, 8>, std::peta>::T>>{}
 
constexpr auto exabit = Units<Unit<dimensions::STORAGE, math::MultRatios<std::ratio<1, 8>, std::exa>::T>>{}
 

Variable Documentation

◆ bit

auto mtcore::units::storage::bit = Units<Unit<dimensions::STORAGE, std::ratio<1, 8>>>{}
constexpr

Definition at line 37 of file storage.hpp.

37{};

◆ byte

auto mtcore::units::storage::byte = Units<Unit<dimensions::STORAGE>>{}
constexpr

Definition at line 27 of file storage.hpp.

27{};

◆ decabit

auto mtcore::units::storage::decabit = Units<Unit<dimensions::STORAGE, math::MultRatios<std::ratio<1, 8>, std::deca>::T>>{}
constexpr

Definition at line 38 of file storage.hpp.

38{};

◆ decabyte

auto mtcore::units::storage::decabyte = Units<Unit<dimensions::STORAGE, std::deca>>{}
constexpr

Definition at line 28 of file storage.hpp.

28{};

◆ exabit

auto mtcore::units::storage::exabit = Units<Unit<dimensions::STORAGE, math::MultRatios<std::ratio<1, 8>, std::exa>::T>>{}
constexpr

Definition at line 45 of file storage.hpp.

45{};

◆ exabyte

auto mtcore::units::storage::exabyte = Units<Unit<dimensions::STORAGE, std::exa>>{}
constexpr

Definition at line 35 of file storage.hpp.

35{};

◆ gigabit

auto mtcore::units::storage::gigabit = Units<Unit<dimensions::STORAGE, math::MultRatios<std::ratio<1, 8>, std::giga>::T>>{}
constexpr

Definition at line 42 of file storage.hpp.

42{};

◆ gigabyte

auto mtcore::units::storage::gigabyte = Units<Unit<dimensions::STORAGE, std::giga>>{}
constexpr

Definition at line 32 of file storage.hpp.

32{};

◆ hectobit

auto mtcore::units::storage::hectobit = Units<Unit<dimensions::STORAGE, math::MultRatios<std::ratio<1, 8>, std::hecto>::T>>{}
constexpr

Definition at line 39 of file storage.hpp.

39{};

◆ hectobyte

auto mtcore::units::storage::hectobyte = Units<Unit<dimensions::STORAGE, std::hecto>>{}
constexpr

Definition at line 29 of file storage.hpp.

29{};

◆ kilobit

auto mtcore::units::storage::kilobit = Units<Unit<dimensions::STORAGE, math::MultRatios<std::ratio<1, 8>, std::kilo>::T>>{}
constexpr

Definition at line 40 of file storage.hpp.

40{};

◆ kilobyte

auto mtcore::units::storage::kilobyte = Units<Unit<dimensions::STORAGE, std::kilo>>{}
constexpr

Definition at line 30 of file storage.hpp.

30{};

◆ megabit

auto mtcore::units::storage::megabit = Units<Unit<dimensions::STORAGE, math::MultRatios<std::ratio<1, 8>, std::mega>::T>>{}
constexpr

Definition at line 41 of file storage.hpp.

41{};

◆ megabyte

auto mtcore::units::storage::megabyte = Units<Unit<dimensions::STORAGE, std::mega>>{}
constexpr

Definition at line 31 of file storage.hpp.

31{};

◆ petabit

auto mtcore::units::storage::petabit = Units<Unit<dimensions::STORAGE, math::MultRatios<std::ratio<1, 8>, std::peta>::T>>{}
constexpr

Definition at line 44 of file storage.hpp.

44{};

◆ petabyte

auto mtcore::units::storage::petabyte = Units<Unit<dimensions::STORAGE, std::peta>>{}
constexpr

Definition at line 34 of file storage.hpp.

34{};

◆ terabit

auto mtcore::units::storage::terabit = Units<Unit<dimensions::STORAGE, math::MultRatios<std::ratio<1, 8>, std::tera>::T>>{}
constexpr

Definition at line 43 of file storage.hpp.

43{};

◆ terabyte

auto mtcore::units::storage::terabyte = Units<Unit<dimensions::STORAGE, std::tera>>{}
constexpr

Definition at line 33 of file storage.hpp.

33{};