4#ifndef TETL_CSTDLIB_STRTOL_HPP
5#define TETL_CSTDLIB_STRTOL_HPP
7#include <etl/_cstring/strlen.hpp>
8#include <etl/_strings/to_integer.hpp>
15[[
nodiscard]]
constexpr auto strtol(
char const* str,
char const** last,
int base)
noexcept ->
long
18 if (last !=
nullptr) {
27[[
nodiscard]]
constexpr auto strtoll(
char const* str,
char const** last,
int base)
noexcept ->
long long
30 if (last !=
nullptr) {
constexpr auto to_integer(string_view str, Int base=Int(10)) noexcept -> to_integer_result< Int >
Definition to_integer.hpp:98
Definition adjacent_find.hpp:9
constexpr auto strtol(char const *str, char const **last, int base) noexcept -> long
Interprets an integer value in a byte string pointed to by str.
Definition strtol.hpp:15
constexpr auto strtoll(char const *str, char const **last, int base) noexcept -> long long
Interprets an integer value in a byte string pointed to by str.
Definition strtol.hpp:27