adding extra to_string variants

This commit is contained in:
Daniel Larimer 2014-05-20 12:31:05 -04:00
parent 17aefe29de
commit b5828dc750

View file

@ -16,6 +16,8 @@ namespace fc
fc::string to_string( uint64_t );
fc::string to_string( int64_t );
fc::string to_string( uint16_t );
inline fc::string to_string( int32_t v ) { return to_string( int64_t(v) ); }
inline fc::string to_string( uint32_t v ){ return to_string( uint64_t(v) ); }
#ifdef __APPLE__
inline fc::string to_string( size_t s) { return to_string(uint64_t(s)); }
#elif defined( WIN32 )