Commit 857325a9 by Tom Manshreck Committed by Copybara-Service

Clarify contract of AlphaNum as only a function parameter type

PiperOrigin-RevId: 502901875
Change-Id: I1c8c097e5c81a9e413692109ebfe0d0b24f50f2e
parent a86f1cec
...@@ -242,8 +242,10 @@ struct Dec { ...@@ -242,8 +242,10 @@ struct Dec {
// ----------------------------------------------------------------------------- // -----------------------------------------------------------------------------
// //
// The `AlphaNum` class acts as the main parameter type for `StrCat()` and // The `AlphaNum` class acts as the main parameter type for `StrCat()` and
// `StrAppend()`, providing efficient conversion of numeric, boolean, and // `StrAppend()`, providing efficient conversion of numeric, boolean, decimal,
// hexadecimal values (through the `Hex` type) into strings. // 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.
class AlphaNum { class AlphaNum {
public: public:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment