From 71be32fe7248a7d2df7dea4e18c5ebd30fd73d4b Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Wed, 21 Feb 2018 19:29:43 +0200 Subject: [PATCH] Add a method to set autobase in Fmt --- source/strings/fmt.h | 1 + 1 file changed, 1 insertion(+) diff --git a/source/strings/fmt.h b/source/strings/fmt.h index baf2a76..ee84911 100644 --- a/source/strings/fmt.h +++ b/source/strings/fmt.h @@ -103,6 +103,7 @@ public: Fmt &hex() { base = HEX; return *this; } Fmt &oct() { base = OCT; return *this; } Fmt &bin() { base = BIN; return *this; } + Fmt &autobase() { base = AUTOBASE; return *this; } Fmt &uppercase(bool u = true) { ucase = u; return *this; } Fmt &numeric() { type = NUM; return *this; } Fmt &character() { type = CHAR; return *this; } -- 2.43.0