...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Push part of a key or string onto the stack.
void
push_chars(
string_view
s);
This function pushes the characters in s
onto the stack, appending to any existing characters or creating new characters
as needed. Once a string part is placed onto the stack, the only valid
stack operations are:
push_chars
to append additional
characters to the key or string being built,
push_key
or push_string
to finish building
the key or string and place the value onto the stack.
Basic guarantee. Calls to memory_resource::allocate
may throw.
Name |
Description |
---|---|
|
The characters to append. This may be empty. |