format: add integer type specifier

This commit is contained in:
Danny Robson 2016-02-02 16:50:28 +11:00
parent 4ac0139657
commit 40b6cfe558

View File

@ -78,6 +78,15 @@ namespace util {
{ return *s == 'u'; }
//---------------------------------------------------------------------
template <>
inline bool
is_type_specifier<int> (const char *s)
{
return *s == 'i' || *s == 'd';
}
//---------------------------------------------------------------------
template <>
inline bool