diff options
Diffstat (limited to 'src/Util.hh')
| -rw-r--r-- | src/Util.hh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/Util.hh b/src/Util.hh index 1536226c..2a40308d 100644 --- a/src/Util.hh +++ b/src/Util.hh @@ -99,4 +99,13 @@ struct PointerAssassin { } }; +std::string itostring(unsigned long i); +std::string itostring(long i); +inline std::string itostring(unsigned int i) { + return itostring((unsigned long) i); +} +inline std::string itostring(int i) { + return itostring((long) i); +} + #endif |
