both reads and writes this information to a file. The number of files
kept are user defined, but defaults to four.
*/
-class LastFiles
-{
+class LastFiles {
public:
///
typedef std::deque<string> Files;
+ ///
+ typedef Files::const_iterator const_iterator;
+
/**@name Constructors and Deconstructors */
//@{
/**
Parameters are: name of file to read. Whether LastFiles should
check for file existance, and the number of files to remember.
*/
- LastFiles(string const &, bool dostat = true, unsigned int num = 4);
+ explicit LastFiles(string const &,
+ bool dostat = true, unsigned int num = 4);
//@}
/**@name Methods */