38 |
38 |
39 // ------------------------------------------------------------------------------------------------- |
39 // ------------------------------------------------------------------------------------------------- |
40 // |
40 // |
41 FORMAT_OVERLOAD (String) { return a; } |
41 FORMAT_OVERLOAD (String) { return a; } |
42 FORMAT_OVERLOAD (char) { return String (a); } |
42 FORMAT_OVERLOAD (char) { return String (a); } |
|
43 FORMAT_OVERLOAD (short int) { return String::from_number (a); } |
43 FORMAT_OVERLOAD (int) { return String::from_number (a); } |
44 FORMAT_OVERLOAD (int) { return String::from_number (a); } |
44 FORMAT_OVERLOAD (long int) { return String::from_number (a); } |
45 FORMAT_OVERLOAD (long int) { return String::from_number (a); } |
45 FORMAT_OVERLOAD (double) { return String::from_number (a); } |
46 FORMAT_OVERLOAD (double) { return String::from_number (a); } |
46 FORMAT_OVERLOAD (size_t) { return String::from_number (a); } |
47 FORMAT_OVERLOAD (unsigned short int) { return String::from_number (a); } |
|
48 FORMAT_OVERLOAD (unsigned int) { return String::from_number (a); } |
|
49 FORMAT_OVERLOAD (unsigned long int) { return String::from_number (a); } |
47 FORMAT_OVERLOAD (const char*) { return a; } |
50 FORMAT_OVERLOAD (const char*) { return a; } |
48 FORMAT_OVERLOAD (std::nullptr_t) { (void) a; return "<null pointer>"; } |
51 FORMAT_OVERLOAD (std::nullptr_t) { (void) a; return "<null pointer>"; } |
49 FORMAT_OVERLOAD (bool) { return a ? "true" : "false"; } |
52 FORMAT_OVERLOAD (bool) { return a ? "true" : "false"; } |
50 |
53 |
51 FORMAT_OVERLOAD (const void*) |
54 FORMAT_OVERLOAD (const void*) |