Defined in header <cparse/Generator.hh>

virtual ~Generator();

Destroys the Generator. = default-defined in the implementation.

The namespaceNameContainer member is destroyed here; a subclass that leaves scopes open at destruction time still has its stack cleaned up, though the corresponding closer text is not emitted — that is the subclass's responsibility.

Parameters

None.

Exceptions

Does not throw.

Notes

The destructor is virtual. Generator is designed to be subclassed, and derived-class destructors run correctly when a Generator is destroyed through a base pointer.

See also