| 261 | struct convertToInt |
| 262 | { |
| 263 | static int invoke(const T& /*value*/) |
| 264 | { |
| 265 | TINYFORMAT_ERROR("tinyformat: Cannot convert from argument type to " |
| 266 | "integer for use as variable width or precision"); |
| 267 | return 0; |
| 268 | } |
| 269 | }; |
| 270 | // Specialization for convertToInt when conversion is possible |
| 271 | template<typename T> |
nothing calls this directly
no outgoing calls
no test coverage detected