Closed tahonermann closed 7 years ago
Since itext_view constructors decode eagerly, alternative non-throwing constructors would be required as well.
Closing this as not-to-be-fixed. As of commit 4950cdfda13cbfc9a20fcfbf4c85a7a9fcf1f8c6, exceptions are no longer thrown during decoding (e.g., during eager decoding), and error policies can be used to avoid use of exceptions altogether.
Text iterators currently throw exceptions when encode/decode errors occur. Adding alternative non-throwing member functions may be helpful to allow code bases that cannot use exceptions to still use Text_view.