#include <str_cat.h>
Public Member Functions | |
template<typename Int > | |
Dec (Int v, PadSpec spec=absl::kNoPad, typename std::enable_if<(sizeof(Int)<=8)>::type *=nullptr) | |
fill (spec >=absl::kSpacePad2? ' ': '0') | |
neg (v< 0) | |
static_cast (v)) | |
width (spec==absl::kNoPad?1:spec >=absl::kSpacePad2?spec-absl::kSpacePad2+2:spec-absl::kZeroPad2+2) | |
Public Attributes | |
char | fill |
bool | neg |
uint64_t | value |
uint8_t | width |
absl::Dec::Dec | ( | Int | v, |
PadSpec | spec = absl::kNoPad |
||
) | [inline, explicit] |
absl::Dec::fill | ( | spec >=absl::kSpacePad2? ' ': '0' | ) |
absl::Dec::neg | ( | ) | [inline] |
absl::Dec::width | ( | spec | = = absl::kNoPad ? 1 : spec >= absl::kSpacePad2 ? spec - absl::kSpacePad2 + 2 : spec - absl::kZeroPad2 + 2 | ) |
char absl::Dec::fill |
bool absl::Dec::neg |
uint64_t absl::Dec::value |
uint8_t absl::Dec::width |