We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#include <iostream> #include <vector> #include "cmdline.h" int main(int argc, char** argv) { cmdline::parser parser; parser.add<std::vector<std::string>>("topics", 't', "topics to filter", true); parser.parse(argc, argv); std::vector<std::string> topics = parser.get<std::vector<std::string>>("topics"); std::cout << "Topics to filter:" << std::endl; for (const auto& topic : topics) { std::cout << "- " << topic << std::endl; } return 0; }
this code is compile error,how to support for std::vectorstd::string?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
this code is compile error,how to support for std::vectorstd::string?
The text was updated successfully, but these errors were encountered: