format: add integer type specifier
This commit is contained in:
parent
4ac0139657
commit
40b6cfe558
@ -78,6 +78,15 @@ namespace util {
|
|||||||
{ return *s == 'u'; }
|
{ return *s == 'u'; }
|
||||||
|
|
||||||
|
|
||||||
|
//---------------------------------------------------------------------
|
||||||
|
template <>
|
||||||
|
inline bool
|
||||||
|
is_type_specifier<int> (const char *s)
|
||||||
|
{
|
||||||
|
return *s == 'i' || *s == 'd';
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
//---------------------------------------------------------------------
|
//---------------------------------------------------------------------
|
||||||
template <>
|
template <>
|
||||||
inline bool
|
inline bool
|
||||||
|
Loading…
Reference in New Issue
Block a user