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

build issue: missing inlcude #7

Open
ktamail666 opened this issue Nov 26, 2022 · 0 comments
Open

build issue: missing inlcude #7

ktamail666 opened this issue Nov 26, 2022 · 0 comments

Comments

@ktamail666
Copy link

The out_of_range part of the stdexcept:

#include <stdexcept>

g++ 12.2.0

/home/xxx/dev/ujson/ujson/ujson.hpp: In function ‘std::vector<std::pair<std::__cxx11::basic_string<char>, ujson::value> >::const_iterator ujson::at(const object&, const char*)’:
/home/xxx/dev/ujson/ujson/ujson.hpp:956:20: error: ‘out_of_range’ is not a member of ‘std’
  956 |         throw std::out_of_range("name not found");
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