mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-21 00:18:43 +00:00
Added: define the toString() for size_t
This commit is contained in:
parent
f984c1a142
commit
44d9dbc390
1 changed files with 2 additions and 2 deletions
|
@ -204,8 +204,8 @@ inline std::string toString(const long unsigned int &val)
|
|||
|
||||
#if (SIZEOF_SIZE_T) == 8
|
||||
inline std::string toString(const size_t &val) { return toString("%"NL_I64"u", val); }
|
||||
//#else
|
||||
//inline std::string toString(const size_t &val) { return toString("%u", val); }
|
||||
#else
|
||||
inline std::string toString(const size_t &val) { return toString("%u", val); }
|
||||
#endif
|
||||
inline std::string toString(const float &val) { return toString("%f", val); }
|
||||
inline std::string toString(const double &val) { return toString("%lf", val); }
|
||||
|
|
Loading…
Reference in a new issue