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

std::optional #include missing from SerializeJson-cpp17.h #117

Open
davegorst opened this issue Oct 24, 2021 · 1 comment
Open

std::optional #include missing from SerializeJson-cpp17.h #117

davegorst opened this issue Oct 24, 2021 · 1 comment

Comments

@davegorst
Copy link

When compiling with standard set as c++17 just started getting this :

/usr/local/include/restc-cpp/SerializeJson-cpp17.h:253:25: error: ‘optional’ is not a member of ‘std’
253 | struct is_optional<std::optional > {

Adding the #include seems to fix it.

@davegorst
Copy link
Author

davegorst commented Oct 24, 2021

Also lopip.c seems to be missing < thread > (??)

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

1 participant