mirror of
https://github.com/fmtlib/fmt.git
synced 2026-05-04 11:44:08 +02:00
Complete header-only configuration support
This commit is contained in:
@@ -391,7 +391,8 @@ int fmt::internal::CharTraits<wchar_t>::format_float(
|
||||
swprintf(buffer, size, format, width, precision, value);
|
||||
}
|
||||
|
||||
const char fmt::internal::DIGITS[] =
|
||||
template <typename T>
|
||||
const char fmt::internal::BasicData<T>::DIGITS[] =
|
||||
"0001020304050607080910111213141516171819"
|
||||
"2021222324252627282930313233343536373839"
|
||||
"4041424344454647484950515253545556575859"
|
||||
@@ -409,8 +410,13 @@ const char fmt::internal::DIGITS[] =
|
||||
factor * 100000000, \
|
||||
factor * 1000000000
|
||||
|
||||
const uint32_t fmt::internal::POWERS_OF_10_32[] = {0, FMT_POWERS_OF_10(1)};
|
||||
const uint64_t fmt::internal::POWERS_OF_10_64[] = {
|
||||
template <typename T>
|
||||
const uint32_t fmt::internal::BasicData<T>::POWERS_OF_10_32[] = {
|
||||
0, FMT_POWERS_OF_10(1)
|
||||
};
|
||||
|
||||
template <typename T>
|
||||
const uint64_t fmt::internal::BasicData<T>::POWERS_OF_10_64[] = {
|
||||
0,
|
||||
FMT_POWERS_OF_10(1),
|
||||
FMT_POWERS_OF_10(ULongLong(1000000000)),
|
||||
|
||||
Reference in New Issue
Block a user