| 699 | // Formats an argument of a custom type, such as a user-defined class. |
| 700 | template <typename T> |
| 701 | static void format_custom_arg( |
| 702 | void *formatter, const void *arg, void *format_str_ptr) { |
| 703 | format(*static_cast<BasicFormatter<Char>*>(formatter), |
| 704 | *static_cast<const Char**>(format_str_ptr), |
| 705 | *static_cast<const T*>(arg)); |
| 706 | } |
| 707 | |
| 708 | public: |
| 709 | MakeValue() {} |