[core] add the ability to stringy numbers as hex

This commit is contained in:
Konstantin Käfer
2018-10-17 15:56:55 +02:00
parent 43687b4781
commit eb828dfd29
3 changed files with 32 additions and 0 deletions

View File

@@ -53,6 +53,8 @@ std::string toString(float, bool decimal = false);
std::string toString(double, bool decimal = false);
std::string toString(long double, bool decimal = false);
std::string toHex(size_t);
inline std::string toString(std::exception_ptr error) {
assert(error);