diff --git a/include/tclap/CommandLine.h b/include/tclap/CommandLine.h index 1a2a8cc..51601a4 100644 --- a/include/tclap/CommandLine.h +++ b/include/tclap/CommandLine.h @@ -93,7 +93,18 @@ class CmdLine */ XorHandler _xorHandler; + /** + * A list of Args to be explicitly deleted when the destructor + * is called. At the moment, this only includes the three default + * Args. + */ std::list _argDeleteOnExitList; + + /** + * A list of Visitors to be explicitly deleted when the destructor + * is called. At the moment, these are the Vistors created for the + * default Args. + */ std::list _visitorDeleteOnExitList; /** @@ -165,7 +176,9 @@ class CmdLine const char delimiter = ' ', const std::string& version = "none" ); - ///Deletes any resources allocated by a CmdLine object + /** + * Deletes any resources allocated by a CmdLine object. + */ ~CmdLine(); /**