absl::AlphaNum

The main parameter type for StrCat() and StrAppend().

Synopsis

Declared in <absl/strings/str_cat.h>

class AlphaNum;

Description

AlphaNum provides efficient conversion of numeric, boolean, decimal, and hexadecimal values (through the Dec and Hex types) into strings. AlphaNum should only be used as a function parameter. Do not instantiate AlphaNum directly as a stack variable.

Member Functions

NameDescription
AlphaNum [constructor]Constructors
operator= [deleted]Deleted copy assignment; AlphaNum is not assignable.
Piece Returns the converted string as a view.
data Returns a pointer to the converted string data.
size Returns the size of the converted string.

Non-Member Functions

NameDescription
StrCatMerges five or more strings or numbers into a single string.
StrCatMerges a single value into a string.
StrCatMerges two strings or numbers into a single string.
StrCatMerges three strings or numbers into a single string.
StrCatMerges four strings or numbers into a single string.