added "String<>::numberOf(float/double)=default"

This commit is contained in:
hyzboy 2023-09-21 23:37:36 +08:00
parent 072153aa91
commit 416e96c169
No known key found for this signature in database
GPG Key ID: 067EE4525D4FB6D3

View File

@ -125,6 +125,9 @@ namespace hgl
return String<T>(si); \
}
static String<T> numberOf(const float value)=delete;
static String<T> numberOf(const double value)=delete;
BASE_STRING_NUMBER_CONSTRUCT(int, itos);
BASE_STRING_NUMBER_CONSTRUCT(uint, utos);
BASE_STRING_NUMBER_CONSTRUCT(int64, itos);