Ignore:
Timestamp:
Oct 22, 2007, 6:18:40 AM (15 years ago)
Author:
Peter
Message:

adding convenient class for help option

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/yat/utility/CommandLine.h

    r966 r981  
    133133
    134134  private:
    135     friend std::ostream& operator<<(std::ostream& os, CommandLine& cl);
     135    friend std::ostream& operator<<(std::ostream& os, const CommandLine& cl);
    136136    void add_private(std::string, Option&);
    137137    bool is_long_option(std::string str) const;
     
    148148     \brief CommandLine output operator
    149149  */
    150   std::ostream& operator<<(std::ostream&, CommandLine&);
     150  std::ostream& operator<<(std::ostream&, const CommandLine&);
    151151
    152152}}} // end of namespace utility, yat, and theplu
Note: See TracChangeset for help on using the changeset viewer.