3#ifndef TETL_STRING_TO_STRING_HPP
4#define TETL_STRING_TO_STRING_HPP
15template <etl::
size_t Capacity,
typename Int>
18 char buffer[Capacity]{};
27template <etl::
size_t Capacity>
30 return etl::detail::to_string<Capacity, int>(value);
34template <etl::
size_t Capacity>
37 return etl::detail::to_string<Capacity, long>(value);
41template <etl::
size_t Capacity>
44 return etl::detail::to_string<Capacity, long long>(value);
48template <etl::
size_t Capacity>
51 return etl::detail::to_string<Capacity, unsigned>(value);
55template <etl::
size_t Capacity>
58 return etl::detail::to_string<Capacity, unsigned long>(value);
62template <etl::
size_t Capacity>
65 return etl::detail::to_string<Capacity, unsigned long long>(value);
#define TETL_PRECONDITION(...)
Definition check.hpp:16
constexpr auto data(C &c) noexcept(noexcept(c.data())) -> decltype(c.data())
Returns a pointer to the block of memory containing the elements of the container.
Definition data.hpp:11
@ none
Definition from_integer.hpp:20
constexpr auto from_integer(Int num, char *str, size_t length, int base) -> from_integer_result
Definition from_integer.hpp:30
Definition adjacent_find.hpp:8
constexpr auto to_string(int value) noexcept -> etl::inplace_string< Capacity >
Converts a numeric value to etl::inplace_string.
Definition to_string.hpp:28
basic_inplace_string< char, Capacity > inplace_string
Typedef for a basic_inplace_string using 'char'.
Definition basic_inplace_string.hpp:1330