Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Function template parse_command_line

boost::program_options::parse_command_line

Synopsis

// In header: <boost/program_options/parsers.hpp>


template<typename charT> 
  basic_parsed_options<  
  ( argc,  argv, 
                     options_description &,  style = , 
                      ext = );

Description

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


PrevUpHomeNext