lemon/arg_parser.h
changeset 294 cbe3ec2d59d2
parent 261 1c2ac7deb5d8
child 311 c887e703b566
equal deleted inserted replaced
10:04a5d9c32797 11:fcb664f9afda
   308 
   308 
   309     ///Magic type for operator[]
   309     ///Magic type for operator[]
   310 
   310 
   311     ///This is the type of the return value of ArgParser::operator[]().
   311     ///This is the type of the return value of ArgParser::operator[]().
   312     ///It automatically converts to \c int, \c double, \c bool or
   312     ///It automatically converts to \c int, \c double, \c bool or
   313     ///\c std::string if the type of the option matches, otherwise it
   313     ///\c std::string if the type of the option matches, which is checked
   314     ///throws an exception (i.e. it performs runtime type checking).
   314     ///with an \ref LEMON_ASSERT "assertion" (i.e. it performs runtime
       
   315     ///type checking).
   315     class RefType
   316     class RefType
   316     {
   317     {
   317       const ArgParser &_parser;
   318       const ArgParser &_parser;
   318       std::string _name;
   319       std::string _name;
   319     public:
   320     public: