KEMBAR78
Add to_json() for std::vector<bool>::reference by falbrechtskirchinger · Pull Request #3534 · nlohmann/json · GitHub
Skip to content

Conversation

@falbrechtskirchinger
Copy link
Contributor

Avoids surprises as seen in #3533.

@coveralls
Copy link

coveralls commented Jun 13, 2022

Coverage Status

Coverage remained the same at 100.0% when pulling 475d132 on falbrechtskirchinger:vector-bool-proxy into af34396 on nlohmann:develop.

Copy link
Owner

@nlohmann nlohmann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

@nlohmann
Copy link
Owner

The code looks good, but Clang-Tidy is complaining.

@falbrechtskirchinger
Copy link
Contributor Author

Changed to static_cast<>(). Should be good now.

Copy link
Owner

@nlohmann nlohmann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

@nlohmann nlohmann self-assigned this Jun 13, 2022
@nlohmann nlohmann added this to the Release 3.11.0 milestone Jun 13, 2022
@nlohmann nlohmann merged commit 9c31d54 into nlohmann:develop Jun 13, 2022
@falbrechtskirchinger falbrechtskirchinger deleted the vector-bool-proxy branch June 13, 2022 11:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants