cxxopts/test
Eyal Rozenberg 5f43f4cbfe
Fixes #245: Mention the option name when throwing on "no value" (#246)
* Fixes #245:

* Added a new exception type: `option_has_no_value_exception`; throwing it when an option has no value we can cast with `as()`, instead of an `std::domain_error`.
* The `OptionValue` type now holds a pointer to the long option name (in its corresponding key within ParseResults's `m_results` field.
2020-07-23 17:27:04 +10:00
..
add-subdirectory-test Cmake overhaul (#53) 2017-06-23 18:38:42 +10:00
find-package-test Cmake overhaul (#53) 2017-06-23 18:38:42 +10:00
.gitignore ignore built files 2016-08-26 08:26:42 +10:00
catch.hpp add testing 2016-08-25 08:49:56 +10:00
CMakeLists.txt Cleanup uses of inline 2017-10-18 08:07:10 +11:00
link_a.cpp Cleanup uses of inline 2017-10-18 08:07:10 +11:00
link_b.cpp Cleanup uses of inline 2017-10-18 08:07:10 +11:00
main.cpp missing file 2017-05-31 17:57:27 +10:00
options.cpp Fixes #245: Mention the option name when throwing on "no value" (#246) 2020-07-23 17:27:04 +10:00