Bitcoin Core 28.99.0
P2P Digital Currency
Functions
byte_units.h File Reference
#include <util/overflow.h>
#include <stdexcept>
Include dependency graph for byte_units.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

constexpr size_t operator""_MiB (unsigned long long mebibytes)
 Overflow-safe conversion of MiB to bytes. More...
 

Function Documentation

◆ operator""_MiB()

constexpr size_t operator""_MiB ( unsigned long long  mebibytes)
constexpr

Overflow-safe conversion of MiB to bytes.

Definition at line 13 of file byte_units.h.

Here is the call graph for this function: