Skip to content

Commit a4ad265

Browse files
authored
Support string vector conversion for ports (#790)
1 parent a6d6588 commit a4ad265

File tree

4 files changed

+72
-775
lines changed

4 files changed

+72
-775
lines changed

include/behaviortree_cpp/basic_types.h

+5
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,11 @@ template <>
181181
template <>
182182
[[nodiscard]] std::vector<double> convertFromString<std::vector<double>>(StringView str);
183183

184+
// Strings separated by the character ";"
185+
template <>
186+
[[nodiscard]] std::vector<std::string>
187+
convertFromString<std::vector<std::string>>(StringView str);
188+
184189
// This recognizes either 0/1, true/false, TRUE/FALSE
185190
template <>
186191
[[nodiscard]] bool convertFromString<bool>(StringView str);

0 commit comments

Comments
 (0)