mirror of
https://github.com/boostorg/container.git
synced 2025-08-01 21:44:27 +02:00
Add overload for unsigned long long so that x64 builds work
This commit is contained in:
@@ -109,6 +109,14 @@ struct string_literals<char>
|
|||||||
{
|
{
|
||||||
std::sprintf(buf, "%lu", number);
|
std::sprintf(buf, "%lu", number);
|
||||||
}
|
}
|
||||||
|
static void sprintf_number(char *buf, long long number)
|
||||||
|
{
|
||||||
|
std::sprintf(buf, "%lli", number);
|
||||||
|
}
|
||||||
|
static void sprintf_number(char *buf, unsigned long long number)
|
||||||
|
{
|
||||||
|
std::sprintf(buf, "%llu", number);
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
template<>
|
template<>
|
||||||
|
Reference in New Issue
Block a user