|
For a derived element
object, erases the last child element.
void markup::pop_back();
None
Nothing
This operation is revelant only if it is called on an element
derived object. The behavior is undefined if called on a pcdata
,
comment
, or procinstr
object, or if called on an element
object which has no children. Caller is responsible to
insure this operation is called on only element
derived objects which has at least one child markup object.
There is some misconseption of this operation's return value, as many assume that it erases the last element while returning it's value. This operation does not return the value of the erased markup object. If you need the value of the last markup object in an element, use the markup::back() operation.
Logarithmic