We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b038184 commit a2fa7daCopy full SHA for a2fa7da
src/utils/arguments.h
@@ -69,11 +69,6 @@ class extractor : public argument_helper<const mxArray> {
69
return mx_to_vector<T>(array[pos]);
70
}
71
72
- template<>
73
- std::vector<std::string> vec(size_t pos) const {
74
- return mx_to_strings(array[pos]);
75
- }
76
-
77
std::vector<nix::Value> vec(size_t pos) const {
78
return mx_to_values(array[pos]);
79
@@ -122,6 +117,11 @@ class extractor : public argument_helper<const mxArray> {
122
117
private:
123
118
};
124
119
120
+template<>
121
+inline std::vector<std::string> extractor::vec(size_t pos) const {
+ return mx_to_strings(array[pos]);
+}
+
125
126
class infusor : public argument_helper<mxArray> {
127
public:
0 commit comments