Skip to content

Commit 1657f93

Browse files
author
Fytch
committed
README: change readme to remove bad advice
1 parent c9246c8 commit 1657f93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ It is highly recommended that you at least briefly skim through the chapters [**
2828
The quickest way to get started is to download *ProgramOptions.hxx* as well as one of the samples and go from there.
2929

3030
### `sample.cxx`
31-
The default choice. Using *ProgramOptions.hxx* incorrectly or failing to meet a function's preconditions will throw an exception which will, by default, terminate the program and display a useful message, explaining where exactly things went wrong. If you don't want the program to be terminated, you may provide your own `try` and `catch` blocks to deal with [`std::logic_error`s](http://en.cppreference.com/w/cpp/error/logic_error).
31+
The default choice. Using *ProgramOptions.hxx* incorrectly or failing to meet a function's preconditions will throw an exception which will, by default, terminate the program and display a useful message, explaining where exactly things went wrong.
3232

3333
### `sample_noexcept.cxx`
3434
Using this sample is only recommended if you are already somewhat familiar with *ProgramOptions.hxx*. Incorrect programs will crash without any messages unless your STL implementation does so when [`assert`ions](http://en.cppreference.com/w/cpp/error/assert) fail.

0 commit comments

Comments
 (0)