2#ifndef TETL_STRING_STOI_HPP
3#define TETL_STRING_STOI_HPP
13template <etl::
integral Int>
33 return detail::sto_impl<int>(str, pos, base);
44 return detail::sto_impl<long>(str, pos, base);
55 return detail::sto_impl<long long>(str, pos, base);
66 return detail::sto_impl<unsigned long>(str, pos, base);
78 return detail::sto_impl<unsigned long long>(str, pos, base);
constexpr auto distance(It first, It last) -> typename iterator_traits< It >::difference_type
Returns the number of hops from first to last.
Definition distance.hpp:16
basic_string_view< char, etl::char_traits< char > > string_view
Typedef for common character type char
Definition basic_string_view.hpp:704
constexpr auto to_integer(string_view str, Int base=Int(10)) noexcept -> to_integer_result< Int >
Definition to_integer.hpp:93
Definition adjacent_find.hpp:8
constexpr auto stoul(etl::string_view str, etl::size_t *pos=nullptr, int base=10) -> unsigned long
Interprets a signed integer value in the string str.
Definition stoi.hpp:64
constexpr auto stoi(etl::string_view str, etl::size_t *pos=nullptr, int base=10) -> int
Interprets a signed integer value in the string str.
Definition stoi.hpp:31
constexpr auto stoull(etl::string_view str, etl::size_t *pos=nullptr, int base=10) -> unsigned long long
Interprets a signed integer value in the string str.
Definition stoi.hpp:75
constexpr auto stol(etl::string_view str, etl::size_t *pos=nullptr, int base=10) -> long
Interprets a signed integer value in the string str.
Definition stoi.hpp:42
constexpr auto stoll(etl::string_view str, etl::size_t *pos=nullptr, int base=10) -> long long
Interprets a signed integer value in the string str.
Definition stoi.hpp:53
TETL_BUILTIN_SIZET size_t
etl::size_t is the unsigned integer type of the result of the sizeof operator.
Definition size_t.hpp:14