-
Notifications
You must be signed in to change notification settings - Fork 5
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
Unquote csv strings #18
Conversation
meh, the one case that wasn't easy to solve is the relevant one for MOTIS :( EDIT: This may also not be the right place to do this |
Maybe something overloading like this:
General note:
|
I guess the way you started it here would require to change row types in these structs to In this case, it makes sense to |
7e0ba2c
to
53ad5cf
Compare
Do you think that is a good way to go? I'm a bit unhappy about the inconsistency of the overloads between cstr and std::string. |
The question is: what is the alternative? To apply the unescaping function manually where necessary? But then where is it not necessary? Even for I think it's still good to have an escape hatch to prevent unescaping if you use I think as long as there are no extra allocations, I am fine. I am a bit crazy with this.. especially temporary allocations 🤯 |
Makes sense. Now for some reason I can't get the std::string overload to be called from stop.cc, I just hope the cause are not implicit conversions to cstr, since code depends on them all over the place. EDIT: Okay no, I just got the wrong stop.cc and didn't notice. |
works now 👍 |
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.
please run the formatter after these changes - then I think we're good to go 👍
Can you please add a test-case for the Somehow I don't get an email notification for force-push. So if you want me to have a look at it, it would help to request a new review or comment here. Or is there a way to subscribe to force-push events too? |
Thank you very much! |
No description provided.