[#absl-SimpleAtoi-01] = xref:absl.adoc[absl]::SimpleAtoi :relfileprefix: ../ :mrdocs: `SimpleAtoi` overloads == Synopses Declared in `<absl/strings/numbers.h>` Overload of `SimpleAtoi()` for signed 128‐bit integers. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[nodiscard]] bool xref:absl/SimpleAtoi-04.adoc[SimpleAtoi]( std::string_view str, xref:absl/int128.adoc[absl::int128]* out); ---- [.small]#xref:absl/SimpleAtoi-04.adoc[_» more..._]# Overload of `SimpleAtoi()` for unsigned 128‐bit integers. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[nodiscard]] bool xref:absl/SimpleAtoi-0d.adoc[SimpleAtoi]( std::string_view str, xref:absl/uint128.adoc[absl::uint128]* out); ---- [.small]#xref:absl/SimpleAtoi-0d.adoc[_» more..._]# Converts the given string into an integer value, returning `true` if successful. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<typename int_type> [[nodiscard]] bool xref:absl/SimpleAtoi-0c.adoc[SimpleAtoi]( std::string_view str, int_type* out); ---- [.small]#xref:absl/SimpleAtoi-0c.adoc[_» more..._]# == Return Value `true` on success; otherwise `false`. [NOTE] ==== The return value https://en.cppreference.com/cpp/language/attributes/nodiscard[should not be discarded^]. ==== == Parameters [cols="1,4"] |=== | Name| Description | *str* | The string to parse. | *out* | The location that receives the parsed value. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#