-
Notifications
You must be signed in to change notification settings - Fork 46
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
Fixes #187 #190
Fixes #187 #190
Conversation
include/ozo/impl/read.h
Outdated
@@ -23,10 +23,12 @@ inline Require<RawDataWritable<T>, istream&> read(istream& in, T& out) { | |||
|
|||
template <typename T> | |||
inline Require<Integral<T> && sizeof(T) == 1, istream&> read(istream& in, T& out) { | |||
out = in.get(); | |||
istream::traits_type::int_type c = in.get(); | |||
// TODO: Check result of istream::traits_type::not_eof(c) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, but could you please remove this comment and open an appropriate issue instead. I do not believe in TODO comments unfortunately they have no chances to be performed in real life in opposite to ticket or issues, which are always on the board.
Thank you!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm happy to work with you on this, but I think we're getting a little too deep into the minutia here.
You could have created the github issue that you want me to create, and merged this change as is (with or without the TODO: comment)
Instead, we've added another round trip between your team, and mine.
Note that I consider #187 a minor problem. I'm much more concerned with #181 . I'm still unable to use OZO to execute a query in my code. There are so many parts of OZO that are not easy to understand as an end user.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot for the contribution and supporting the process! Sometimes it looks too annoying but it brings advantages in the future.
No description provided.