class AlphaNum

Defined at line 311 of file ../../third_party/abseil-cpp/absl/strings/str_cat.h

-----------------------------------------------------------------------------

AlphaNum

-----------------------------------------------------------------------------

The `AlphaNum` class acts as the main parameter type for `StrCat()` and

`StrAppend()`, providing 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.

Public Methods

template <typename T>
void AlphaNum (std::initializer_list<T> )

Prevent brace initialization

Defined at line 318 of file ../../third_party/abseil-cpp/absl/strings/str_cat.h

void AlphaNum (int x)

Defined at line 320 of file ../../third_party/abseil-cpp/absl/strings/str_cat.h

void AlphaNum (unsigned int x)

Defined at line 324 of file ../../third_party/abseil-cpp/absl/strings/str_cat.h

void AlphaNum (long x)

Defined at line 328 of file ../../third_party/abseil-cpp/absl/strings/str_cat.h

void AlphaNum (unsigned long x)

Defined at line 332 of file ../../third_party/abseil-cpp/absl/strings/str_cat.h

void AlphaNum (long long x)

Defined at line 336 of file ../../third_party/abseil-cpp/absl/strings/str_cat.h

void AlphaNum (unsigned long long x)

Defined at line 340 of file ../../third_party/abseil-cpp/absl/strings/str_cat.h

void AlphaNum (float f)

Defined at line 345 of file ../../third_party/abseil-cpp/absl/strings/str_cat.h

void AlphaNum (double f)

Defined at line 347 of file ../../third_party/abseil-cpp/absl/strings/str_cat.h

template <size_t size>
void AlphaNum (const strings_internal::AlphaNumBuffer<size> & buf)

Defined at line 351 of file ../../third_party/abseil-cpp/absl/strings/str_cat.h

void AlphaNum (absl::Nullable<const char *> c_str)

Defined at line 356 of file ../../third_party/abseil-cpp/absl/strings/str_cat.h

void AlphaNum (absl::string_view pc)

Defined at line 359 of file ../../third_party/abseil-cpp/absl/strings/str_cat.h

template <typename T, typename = typename std::enable_if<
                                                HasAbslStringify<T>::value>::type>
void AlphaNum (const T & v, strings_internal::StringifySink && sink)

Defined at line 365 of file ../../third_party/abseil-cpp/absl/strings/str_cat.h

template <typename Allocator>
void AlphaNum (const std::basic_string<char, std::char_traits<char>, Allocator> & str)

Defined at line 371 of file ../../third_party/abseil-cpp/absl/strings/str_cat.h

void AlphaNum (char c)

Use string literals ":" instead of character literals ':'.

Defined at line 377 of file ../../third_party/abseil-cpp/absl/strings/str_cat.h

void AlphaNum (const AlphaNum & )

Defined at line 379 of file ../../third_party/abseil-cpp/absl/strings/str_cat.h

AlphaNum & operator= (const AlphaNum & )

Defined at line 380 of file ../../third_party/abseil-cpp/absl/strings/str_cat.h

absl::string_view::size_type size ()

Defined at line 382 of file ../../third_party/abseil-cpp/absl/strings/str_cat.h

absl::Nullable<const char *> data ()

Defined at line 383 of file ../../third_party/abseil-cpp/absl/strings/str_cat.h

absl::string_view Piece ()

Defined at line 384 of file ../../third_party/abseil-cpp/absl/strings/str_cat.h

template <typename T, typename = typename std::enable_if<
                                    std::is_enum<T>{} && std::is_convertible<T, int>{} &&
                                    !HasAbslStringify<T>::value>::type>
void AlphaNum (T e)

Defined at line 392 of file ../../third_party/abseil-cpp/absl/strings/str_cat.h

template <typename T, typename std::enable_if<std::is_enum<T>{} &&
                                                            !std::is_convertible<T, int>{} &&
                                                            !HasAbslStringify<T>::value,
                                                        char*>::type = nullptr>
void AlphaNum (T e)

Defined at line 402 of file ../../third_party/abseil-cpp/absl/strings/str_cat.h

template <typename T, typename std::enable_if<
                              std::is_class<T>::value &&
                              (std::is_same<T, std::vector<bool>::reference>::value ||
                               std::is_same<T, std::vector<bool>::const_reference>::value)>::type* =
                              nullptr>
void AlphaNum (T e)

vector

<bool

>::reference and const_reference require special help to

convert to `AlphaNum` because it requires two user defined conversions.

Defined at line 414 of file ../../third_party/abseil-cpp/absl/strings/str_cat.h