Helper type to parse quantities with binary SI-style suffixes.
More...
#include <settings_utils.h>
Helper type to parse quantities with binary SI-style suffixes.
Intended usage:
- use boost to parse values as quantity
- access values with
q.mibi()
Definition at line 77 of file settings_utils.h.
◆ binary_quantity() [1/2]
constexpr carl::settings::binary_quantity::binary_quantity |
( |
| ) |
|
|
constexprdefault |
◆ binary_quantity() [2/2]
constexpr carl::settings::binary_quantity::binary_quantity |
( |
std::size_t |
n | ) |
|
|
inlineexplicitconstexpr |
◆ exbi()
constexpr auto carl::settings::binary_quantity::exbi |
( |
| ) |
const |
|
inlineconstexpr |
◆ gibi()
constexpr auto carl::settings::binary_quantity::gibi |
( |
| ) |
const |
|
inlineconstexpr |
◆ kibi()
constexpr auto carl::settings::binary_quantity::kibi |
( |
| ) |
const |
|
inlineconstexpr |
◆ mebi()
constexpr auto carl::settings::binary_quantity::mebi |
( |
| ) |
const |
|
inlineconstexpr |
◆ n()
constexpr auto carl::settings::binary_quantity::n |
( |
| ) |
const |
|
inlineconstexpr |
◆ pebi()
constexpr auto carl::settings::binary_quantity::pebi |
( |
| ) |
const |
|
inlineconstexpr |
◆ tebi()
constexpr auto carl::settings::binary_quantity::tebi |
( |
| ) |
const |
|
inlineconstexpr |
◆ mN
std::size_t carl::settings::binary_quantity::mN = 0 |
|
private |
The documentation for this struct was generated from the following file: