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 3eb827d commit 063291bCopy full SHA for 063291b
example/parsing_into_a_class.cpp
@@ -33,7 +33,7 @@ int main()
33
std::cout << input << "\n";
34
35
//[ parsing_into_a_class_vec_of_strs
36
- constexpr auto uint_string = bp::uint_ >> bp::char_ >> bp::char_;
+ constexpr auto uint_string = bp::uint_ >> +bp::char_;
37
std::vector<std::string> vector_from_parse;
38
if (parse(input, uint_string, bp::ws, vector_from_parse)) {
39
std::cout << "That yields this vector of strings:\n";
0 commit comments