From 416e96c16923dede9dba5a483e1fe239116e8679 Mon Sep 17 00:00:00 2001 From: hyzboy Date: Thu, 21 Sep 2023 23:37:36 +0800 Subject: [PATCH] added "String<>::numberOf(float/double)=default" --- inc/hgl/type/String.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/inc/hgl/type/String.h b/inc/hgl/type/String.h index eca7e90..185ccb5 100644 --- a/inc/hgl/type/String.h +++ b/inc/hgl/type/String.h @@ -125,6 +125,9 @@ namespace hgl return String(si); \ } + static String numberOf(const float value)=delete; + static String numberOf(const double value)=delete; + BASE_STRING_NUMBER_CONSTRUCT(int, itos); BASE_STRING_NUMBER_CONSTRUCT(uint, utos); BASE_STRING_NUMBER_CONSTRUCT(int64, itos);