Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext
value_stack::push_key

Push a key onto the stack.

Synopsis
void
push_key(
    string_view s);
Description

This function notionally removes all the characters currently on the stack, then pushes a value containing a key onto the stack formed by appending s to the removed characters.

Exception Safety

Basic guarantee. Calls to memory_resource::allocate may throw.

Parameters

Name

Description

s

The characters to append. This may be empty.


PrevUpHomeNext