Constructs an AlphaNum from a scoped enum.
Synopsis
Declared in <absl/strings/str_cat.h>
template<typename T>
requires std::is_enum<T>{} &&
!std::is_convertible<T, int>{} &&
!HasAbslStringify<T>::value
AlphaNum(T e);
Description
Casts to the underlying type, then uses integral promotion for the same reason as the unscoped enum overload.
Parameters
Name |
Description |
e |
The enum value to convert. |
Created with MrDocs