|
For a derived element
object, erases the first child element.
void markup::pop_front();
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 first 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 forst markup object in an element, use the markup::front() operation.
Logarithmic