Skip to content

Support vector<bool> when loading and saving json - #1521

Merged
yoshikikanemoto merged 3 commits into
productionfrom
boolVectorJson_20250627
Nov 19, 2025
Merged

Support vector<bool> when loading and saving json#1521
yoshikikanemoto merged 3 commits into
productionfrom
boolVectorJson_20250627

Conversation

@CapObvios

@CapObvios CapObvios commented Jul 10, 2025

Copy link
Copy Markdown
Collaborator

}
}

inline void LoadJsonValue(const rapidjson::Value& v, std::vector<bool>::reference t)

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

what is std::vector<bool>::reference? is that std::vector<bool>&?

@cielavenir cielavenir Aug 26, 2025

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

According to https://en.cppreference.com/w/cpp/container/vector_bool.html , vector<bool>& is not applicable

@yoshikikanemoto
yoshikikanemoto merged commit 65bf115 into production Nov 19, 2025
1 check passed
@yoshikikanemoto
yoshikikanemoto deleted the boolVectorJson_20250627 branch December 2, 2025 08:26
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.

4 participants