Skip to content
Snippets Groups Projects
Commit c3d3648e authored by Recolic Keghart's avatar Recolic Keghart
Browse files

add opt_parser.data()

parent 2795b7d3
No related branches found
No related tags found
No related merge requests found
......@@ -117,6 +117,12 @@ namespace rlib {
{
return args.empty();
}
// Note that, args data will be erased, once got fetched.
const std::vector<std::string> &data() const
{
return args;
}
private:
std::vector<std::string> args;
std::string arg0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment