Skip to content

Conversation

@DavisVaughan
Copy link
Member

@DavisVaughan DavisVaughan commented Apr 9, 2021

It seems like the forward declaration of `class time_zone` in `date/tz.h` is enough to allow us to use it as a return value and an argument
vroom will possibly call this in parallel, and will catch any runtime errors. However, you cannot throw a cpp11 error, or allocate any R memory, while in a thread.
This way the client can choose exactly how to handle nonexistent and ambiguous times, and we don't have to return a custom struct for nonexistent times
@DavisVaughan DavisVaughan merged commit 652e51d into master Apr 9, 2021
@DavisVaughan DavisVaughan deleted the feature/clock-api branch April 9, 2021 21:35
jimhester pushed a commit to tidyverse/vroom that referenced this pull request Apr 13, 2021
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

Successfully merging this pull request may close these issues.

2 participants