_M_erase_after overloads

Synopses

Declared in <bslstp_slist.h>

Erase the node immediately following __pos and return the next node.

Erase nodes in the open range after __before_first up to __last_node.

Return Value

  • node that followed the erased element, or null

  • __last_node after the erasure

Parameters

Name

Description

__pos

node preceding the erased element

__before_first

node preceding the first erased element

__last_node

first node retained after the erased range

Created with MrDocs