| Home | Libraries | People | FAQ | More

#### to_static_string

Returns a static string representing an integer as a decimal.

##### Synopsis

Defined in header `<boost/beast/core/static_string.hpp>`

    template<
        class Integer>
    static_string< detail::max_digits(sizeof(Integer))>
    to_static_string(
        Integer x);

##### Description

##### Parameters

Name | Description
--- | ---
`x` | The signed or unsigned integer to convert. This must be an integral type.

##### Return Value

A `static_string` with an implementation defined maximum size large enough to hold the longest possible decimal representation of any integer of the given type.

Convenience header `<boost/beast/core.hpp>`