Closed kuznetsss closed 5 months ago
"Strong guarantee" means that if the function throws an exception, then any of its arguments, including the object on which the function is called (if it's a member function) aren't changed. You are thinking of the no-throw guarantee.
See this document for more info: https://www.boost.org/community/exception_safety.html (section 3 discusses exception safety guarantees).
Thanks for the explanation!
Hi, thanks for the useful library!
I think there are a few inconsistencies about whether function or method throws an exception: value::as_string():
parse()
In both cases it says in the description that exception could be thrown but at the same time it says
Exception Safety: strongly guarantee
.