[#llvm-drop_end] = xref:llvm.adoc[llvm]::drop_end :relfileprefix: ../ :mrdocs: Return a range covering `RangeOrContainer` with the last `N` elements excluded. == Synopsis Declared in `<llvm/ADT/STLExtras.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<typename T> auto drop_end( T&& RangeOrContainer, size_t N = 1); ---- == Return Value A range over `RangeOrContainer` without its last `N` elements. == Parameters [cols="1,4"] |=== | Name| Description | *RangeOrContainer* | Range or container to view. | *N* | Number of trailing elements to drop. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#