From e020805cb140ed98d09e606a867b910fce78ad15 Mon Sep 17 00:00:00 2001 From: Steven Le Rouzic Date: Thu, 10 Oct 2024 23:38:35 +0200 Subject: Integers formatting --- asl/format.hpp | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'asl/format.hpp') diff --git a/asl/format.hpp b/asl/format.hpp index 1b4088e..f17329f 100644 --- a/asl/format.hpp +++ b/asl/format.hpp @@ -93,4 +93,17 @@ void AslFormat(formatter& f, const char (&str)[N]) f.write(str, N - 1); } +void AslFormat(formatter& f, float); +void AslFormat(formatter& f, double); + +void AslFormat(formatter& f, uint8_t); +void AslFormat(formatter& f, uint16_t); +void AslFormat(formatter& f, uint32_t); +void AslFormat(formatter& f, uint64_t); + +void AslFormat(formatter& f, int8_t); +void AslFormat(formatter& f, int16_t); +void AslFormat(formatter& f, int32_t); +void AslFormat(formatter& f, int64_t); + } // namespace asl -- cgit