ΒΆtemplate <typename T,
          fmt::enable_if_t<
              (!std::is_integral<T>::value),
              int> = 0>
inline auto to_string(const T& value)
    -> std::string

Description

\rstConverts *value* to ``std::string`` using the default format for type *T*. *Example**:: #include <fmt /format.h> std::string answer = fmt::to_string(42);\endrst

Declared at: third_party/fmt/include/fmt/format.h:4290

Templates

T
fmt::enable_if_t<(!std::is_integral::value), int>

Parameters

const T& value