HomeManualTopicsTypesSymbols

std::push

add a single item at the end of a collection

Parameters

collection
the collection to be modified
item
the item to be added

Result

collection
the modified collection

Topics

Strings

Lists

See also

std::pop remove and return the last item of a collection
std::peek returns the last item of a collection without removing it
std::drop removes the last item of a collection without returning it
std::put adds a single item at the front of a collection
std::append appends two or more collections to form a single collection

Implemented by

std_types::list adds a single item at the end of the list
std_types::octet_string adds a single character at the front of the string
std_types::quad_octet_string adds a single character at the front of the string