Skip to content

Commit 70060e8

Browse files
committed
Support string vector conversion for ports
1 parent 55a7b70 commit 70060e8

File tree

5 files changed

+93
-789
lines changed

5 files changed

+93
-789
lines changed

include/behaviortree_cpp/basic_types.h

+5
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,11 @@ template <>
169169
template <>
170170
[[nodiscard]] std::vector<double> convertFromString<std::vector<double>>(StringView str);
171171

172+
// Strings separated by the character ";"
173+
template <>
174+
[[nodiscard]] std::vector<std::string>
175+
convertFromString<std::vector<std::string>>(StringView str);
176+
172177
// This recognizes either 0/1, true/false, TRUE/FALSE
173178
template <>
174179
[[nodiscard]] bool convertFromString<bool>(StringView str);

0 commit comments

Comments
 (0)