Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

Click here to view the latest version of this page.
PrevUpHomeNext

Function template parse_command_line

boost::program_options::parse_command_line —

Synopsis

template<typename charT> 
basic_parsed_options< charT > 
parse_command_line(int argc, charT * argv, const options_description &, 
int style = 0, 
function1< std::pair< std::string, std::string >, const  std::string & > ext = ext_parser());

Description

Creates instance of 'command_line_parser', passes parameters to it, and returns the result of calling the 'run' method.

Copyright 2002-2004 Vladimir Prus

PrevUpHomeNext