@@ -104,37 +104,37 @@ int main(int argc, char ** argv)
104
104
dev.property (" name" ).print ();
105
105
std::cout << std::endl;
106
106
107
- // test std::array<std::string>
108
- std::array<std::string, 3 > array1 = {{" one" , " two" , " three" }};
109
- dev.property (" foo" ).set (array1);
110
- dev.property (" foo" ).print ();
111
- std::cout << std::endl;
112
-
113
- // test std::array<const char*>
114
- std::array<const char *, 3 > array2 = {{" four" , " five" , " six" }};
115
- dev.property (" foo" ).set (array2);
116
- dev.property (" foo" ).print ();
117
- std::cout << std::endl;
118
-
119
- // test plain array of const char*
120
- const char * array3[3 ] = {" seven" , " eight" , " nine" };
121
- dev.property (" foo" ).set (array3, 3 );
122
- dev.property (" foo" ).print ();
123
- std::cout << std::endl;
124
-
125
- // test std::vector<const char*>
126
- const char *array4[3 ] = {" ten" , " eleven" , " twelve" };
127
- std::vector<const char *> vector1 (array4, std::end (array4));
128
- dev.property (" foo" ).set (vector1);
129
- dev.property (" foo" ).print ();
130
- std::cout << std::endl;
131
-
132
- // test std::vector<std::string>
133
- const char *array5[3 ] = {" thirteen" , " 14" , " 15" };
134
- std::vector<std::string> vector2 (array5, std::end (array5));
135
- dev.property (" foo" ).set (vector2);
136
- dev.property (" foo" ).print ();
137
- std::cout << std::endl;
107
+ // // test std::array<std::string>
108
+ // std::array<std::string, 3> array1 = {{"one", "two", "three"}};
109
+ // dev.property("foo").set(array1);
110
+ // dev.property("foo").print();
111
+ // std::cout << std::endl;
112
+ //
113
+ // // test std::array<const char*>
114
+ // std::array<const char*, 3> array2 = {{"four", "five", "six"}};
115
+ // dev.property("foo").set(array2);
116
+ // dev.property("foo").print();
117
+ // std::cout << std::endl;
118
+ //
119
+ // // test plain array of const char*
120
+ // const char* array3[3] = {"seven", "eight", "nine"};
121
+ // dev.property("foo").set(array3, 3);
122
+ // dev.property("foo").print();
123
+ // std::cout << std::endl;
124
+ //
125
+ // // test std::vector<const char*>
126
+ // const char *array4[3] = {"ten", "eleven", "twelve"};
127
+ // std::vector<const char*> vector1(array4, std::end(array4));
128
+ // dev.property("foo").set(vector1);
129
+ // dev.property("foo").print();
130
+ // std::cout << std::endl;
131
+ //
132
+ // // test std::vector<std::string>
133
+ // const char *array5[3] = {"thirteen", "14", "15"};
134
+ // std::vector<std::string> vector2(array5, std::end(array5));
135
+ // dev.property("foo").set(vector2);
136
+ // dev.property("foo").print();
137
+ // std::cout << std::endl;
138
138
139
139
mapper::Property p (" temp" , " tempstring" );
140
140
dev.properties ().set (p);
0 commit comments