| 664 | |
| 665 | template <typename T> |
| 666 | inline void serialize_floating_point ( |
| 667 | const T& item, |
| 668 | std::ostream& out |
| 669 | ) |
| 670 | { |
| 671 | try |
| 672 | { |
| 673 | float_details temp = item; |
| 674 | serialize(temp, out); |
| 675 | } |
| 676 | catch (serialization_error& e) |
| 677 | { throw serialization_error(e.info + "\n while serializing a floating point number."); } |
| 678 | } |
| 679 | |
| 680 | template <typename T> |
| 681 | inline bool old_deserialize_floating_point ( |
no test coverage detected