MCPcopy Create free account
hub / github.com/danielaparker/jsoncons / JSONCONS_CATCH

Method JSONCONS_CATCH

include/jsoncons/source.hpp:390–394  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

388 return len;
389 }
390 JSONCONS_CATCH(const std::exception&)
391 {
392 stream_ptr_->clear(stream_ptr_->rdstate() | std::ios::badbit | std::ios::eofbit);
393 return 0;
394 }
395 }
396 }
397 private:

Callers

nothing calls this directly

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected