From 3df5337e7981e064670ac16da308df951ad05214 Mon Sep 17 00:00:00 2001 From: Kevin Dixon Date: Tue, 29 Mar 2016 21:41:46 -0700 Subject: [PATCH] fixes #223 by updating README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 4a32513a..0a0b5b0e 100644 --- a/README.md +++ b/README.md @@ -187,6 +187,8 @@ std::cout << std::setw(4) << j << std::endl; These operators work for any subclasses of `std::istream` or `std::ostream`. +Please note that setting the exception bit for `failbit` is inappropriate for this use case. It will result in program termination due to the `noexcept` specifier in use. + ### STL-like access We designed the JSON class to behave just like an STL container. In fact, it satisfies the [**ReversibleContainer**](http://en.cppreference.com/w/cpp/concept/ReversibleContainer) requirement.