Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Throw when reading error #1

Open
imtrobin opened this issue Apr 27, 2017 · 1 comment
Open

Throw when reading error #1

imtrobin opened this issue Apr 27, 2017 · 1 comment
Assignees

Comments

@imtrobin
Copy link

I see you throw a runtime exception when there is a reading error. That might not be so desirable. Is there a way better way to check the stream status after deserializaing.

e.g
float x,y,z;
in >> x >> y >> z;
if ( ! in)
// stream is in invalid state

@shaovoon shaovoon self-assigned this Apr 27, 2017
@macxfadz
Copy link

@shaovoon sorry for asking but for clarification, is this fixed with 1.01 release?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants