Skip to content

Add convertFromString<vector<bool>> #992

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sven-hoek
Copy link
Contributor

@sven-hoek sven-hoek commented Jul 16, 2025

Functions exist in the library for conversions from string to

  • int and vector<int>
  • double and vector<double>
  • string and vector<string>
  • bool but not for vector<bool>,

so I added convertFromString<vector<bool>> to the library for completion and convenience.


Also, as mentioned in #953, user-defined conversion functions seem to be tricky to make available to use with plugins, this solves at least a certain case of the problem.

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.

1 participant