adding extra to_string variants
This commit is contained in:
parent
17aefe29de
commit
b5828dc750
1 changed files with 2 additions and 0 deletions
|
|
@ -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 )
|
||||
|
|
|
|||
Loading…
Reference in a new issue