Constructors
Declared in <absl/strings/str_cat.h>
Deleted copy constructor; AlphaNum is not copyable.
AlphaNum(AlphaNum const& other) = delete;
» more...
Deleted: use string literals ":" instead of character literals ':'.
AlphaNum(char c) = delete;
» more...
Constructs an AlphaNum from a double.
AlphaNum(double f);
» more...
Constructs an AlphaNum from a float.
AlphaNum(float f);
» more...
Constructs an AlphaNum from an int.
AlphaNum(int x);
» more...
Constructs an AlphaNum from a long.
AlphaNum(long x);
» more...
Constructs an AlphaNum from a long long.
AlphaNum(long long x);
» more...
Constructs an AlphaNum from an absl::string_view.
AlphaNum(std::string_view pc);
» more...
Constructs an AlphaNum from an unsigned int.
AlphaNum(unsigned int x);
» more...
Constructs an AlphaNum from an unsigned long.
AlphaNum(unsigned long x);
» more...
Constructs an AlphaNum from an unsigned long long.
AlphaNum(unsigned long long x);
» more...
Constructs an AlphaNum from a null-terminated C string.
AlphaNum(char const* c_str);
» more...
Constructs an AlphaNum from an unscoped enum.
template<typename T>
requires std::is_enum<T>{} &&
std::is_convertible<T, int>{} &&
!HasAbslStringify<T>::value
AlphaNum(T e);
» more...
Constructs an AlphaNum from a scoped enum.
template<typename T>
requires std::is_enum<T>{} &&
!std::is_convertible<T, int>{} &&
!HasAbslStringify<T>::value
AlphaNum(T e);
» more...
Constructs an AlphaNum from a std::vector<bool> element reference.
template<typename T>
requires std::is_class_v<T> &&
(std::is_same_v<T, std::vector<bool>::reference> ||
std::is_same_v<T, std::vector<bool>::const_reference>)
AlphaNum(T e);
» more...
Deleted to prevent brace initialization.
template<typename T>
AlphaNum(std::initializer_list<T> list) = delete;
» more...
Constructs an AlphaNum from a fixed-size conversion buffer.
template<size_t size>
AlphaNum(/* implementation-defined */ const& buf);
» more...
Constructs an AlphaNum from a std::basic_string.
template<typename Allocator>
AlphaNum(std::basic_string<char, std::char_traits<char>, Allocator> const& str);
» more...
Constructs an AlphaNum from a type with an AbslStringify() overload.
template<typename T>
requires HasAbslStringify<T>::value
AlphaNum(
T const& v,
/* implementation-defined */::StringifySink&& sink = {});
» more...
| Name | Description |
|---|---|
| c | The character (not accepted). |
| f | The value to convert. |
| x | The value to convert. |
| pc | The string view to convert. |
| c_str | The null-terminated string; null produces no output. |
| e | The enum value to convert. |
| buf | The buffer holding the already-converted characters. |
| str | The string to convert. |
| v | The value to stringify. |
| sink | The sink used to hold the stringified result. |