Defined in header <cparse/Parser.hh>

virtual ~Parser();

Destroys the Parser. Releases the active cursor's shared reference, empties the return-point stack (also releasing each stacked cursor's shared reference), and destroys the error collector vector.

Parameters

None.

Exceptions

= default-defined in the implementation. Does not throw.

Notes

The destructor is virtual — Parser is designed to be subclassed via public inheritance, and derived-class destructors run correctly when a Parser is destroyed through a base pointer.

See also