format: add integer type specifier
This commit is contained in:
parent
4ac0139657
commit
40b6cfe558
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user