HomeManualTopicsTypesSymbols

std_types::list/std::drop

removes the last item of a non-empty list

Parameters

None

Results

None

Description

It is an error to attempt to drop an item from an empty list.

The returned list maintains all attributes of the original list.

Implements

std::drop removes the last item of a collection without returning it