Skip to content

Add convertFromString<vector<bool>>#992

Merged
facontidavide merged 1 commit intoBehaviorTree:masterfrom
sven-hoek:add-convertFromString-for-bool-vector
Jul 20, 2025
Merged

Add convertFromString<vector<bool>>#992
facontidavide merged 1 commit intoBehaviorTree:masterfrom
sven-hoek:add-convertFromString-for-bool-vector

Conversation

@sven-hoek
Copy link
Copy Markdown
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.

@facontidavide facontidavide merged commit 6ec652d into BehaviorTree:master Jul 20, 2025
8 checks passed
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.

2 participants