| 2342 | { |
| 2343 | public: |
| 2344 | explicit proxy_deserialize ( |
| 2345 | const std::string& filename_ |
| 2346 | ) : filename(filename_), |
| 2347 | fin_optional_owning_ptr(new std::ifstream(filename.c_str(), std::ios::binary)), |
| 2348 | fin(*fin_optional_owning_ptr) |
| 2349 | { |
| 2350 | if (!fin) |
| 2351 | throw serialization_error("Unable to open " + filename + " for reading."); |
| 2352 | init(); |
| 2353 | } |
| 2354 | |
| 2355 | explicit proxy_deserialize ( |
| 2356 | std::vector<char>& buf |
nothing calls this directly
no test coverage detected