Bug 2901

Summary: Add CommandLine::Parse (const std::vector<std::string>> args);
Product: ns-3 Reporter: Peter Barnes <pdbarnes>
Component: coreAssignee: Peter Barnes <pdbarnes>
Status: RESOLVED FIXED    
Severity: enhancement CC: ns-bugs, tomh
Priority: P3    
Version: ns-3-dev   
Hardware: All   
OS: All   

Description Peter Barnes 2018-03-21 13:49:07 UTC
Drew_drw on the users list:
https://groups.google.com/forum/#!topic/ns-3-users/jS1JsF_N3ts

posted a snippet where he constructs an arg vector of strings, then calls Parse.  To do that he has to convert the vector to a C array of C-strings, yuck.

Implementing this should be trivial...
Comment 1 Peter Barnes 2018-04-03 17:53:33 UTC
Pushed in r13462 (691e29d1)