boostorg / serialization

Boost.org serialization module
http://boost.org/libs/serialization
119 stars 139 forks source link

Add a diagnostic hint to input stream error #318

Open swebb2066 opened 1 month ago

swebb2066 commented 1 month ago

This PR aims to save users some time when diagnosing an input_stream_error.

For example, a NaN value serialized as <PlanningCost>-nan(ind)</PlanningCost> results in an input_stream_error exception when the file is reloaded.