equal
deleted
inserted
replaced
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: |