Scoped object that manages the life cycle of a single entry on the string stack. More...
#include <StackedString.h>
Public Member Functions | |
| ScopedStackedString (StackedString &string, AZStd::string_view value) | |
| ScopedStackedString (StackedString &string, size_t value) | |
Scoped object that manages the life cycle of a single entry on the string stack.
| AZ::ScopedStackedString::ScopedStackedString | ( | StackedString & | string, |
| AZStd::string_view | value | ||
| ) |
Pushes a new entry on the stack.
| string | The string stack to push to. |
| value | The new entry to push. |
| AZ::ScopedStackedString::ScopedStackedString | ( | StackedString & | string, |
| size_t | value | ||
| ) |
Pushes a new entry on the stack. This overload can be used to push an index to for instance an array.
| string | The string stack to push to. |
| value | The new entry to push. The integer will be converted to string. |