HomeManualTopicsTypesSymbols

std::put

adds a single item at the front 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::get removes and returns the first item of a collection
std::push add a single item at the end of a collection
std::pop remove and return the last item of a collection

Implemented by

std_types::generic_list adds a single item at the front of the list
std_types::string adds a character at the front of the string